We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f49006e commit 7e9b2b0Copy full SHA for 7e9b2b0
Doc/library/enum.rst
@@ -799,9 +799,9 @@ Utilities and Decorators
799
call an *Enum*'s :meth:`_generate_next_value_` to get an appropriate value.
800
For *Enum* and *IntEnum* that appropriate value will be the last value plus
801
one; for *Flag* and *IntFlag* it will be the first power-of-two greater
802
- than the last value; for *StrEnum* it will be the lower-cased version of the
803
- member's name. Care must be taken if mixing *auto()* with manually specified
804
- values.
+ than the highest value; for *StrEnum* it will be the lower-cased version of
+ the member's name. Care must be taken if mixing *auto()* with manually
+ specified values.
805
806
*auto* instances are only resolved when at the top level of an assignment:
807
0 commit comments