diff options
author | Aarni Koskela <akx@iki.fi> | 2023-01-18 20:01:47 +0200 |
---|---|---|
committer | Aarni Koskela <akx@iki.fi> | 2023-01-18 21:13:08 +0200 |
commit | 47072d2c96390f5e5daae9e96d5dc30ae2d704ec (patch) | |
tree | f935696f4238bcb18a81223f1c35c54be1fbdb86 /babel | |
parent | f5ef6d06f961865ff9dbb3ff9d3fc81f0bbe8fd1 (diff) | |
download | babel-47072d2c96390f5e5daae9e96d5dc30ae2d704ec.tar.gz |
Apply ruff C category fixes
Diffstat (limited to 'babel')
-rw-r--r-- | babel/plural.py | 2 |
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: |