summaryrefslogtreecommitdiff
path: root/babel/plural.py
diff options
context:
space:
mode:
Diffstat (limited to 'babel/plural.py')
-rw-r--r--babel/plural.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/babel/plural.py b/babel/plural.py
index 62bb020..fd0d0da 100644
--- a/babel/plural.py
+++ b/babel/plural.py
@@ -115,7 +115,7 @@ class PluralRule:
rules = rules.items()
found = set()
self.abstract: list[tuple[str, Any]] = []
- for key, expr in sorted(list(rules)):
+ for key, expr in sorted(rules):
if key not in _plural_tags:
raise ValueError(f"unknown tag {key!r}")
elif key in found: