diff options
Diffstat (limited to 'Lib/enum.py')
-rw-r--r-- | Lib/enum.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/enum.py b/Lib/enum.py index 26e5c50..45e3cd0 100644 --- a/Lib/enum.py +++ b/Lib/enum.py @@ -1170,7 +1170,7 @@ class Enum(metaclass=EnumType): DeprecationWarning, stacklevel=3, ) - for v in last_values: + for v in reversed(last_values): try: return v + 1 except TypeError: |