We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e196d8c commit 64ed609Copy full SHA for 64ed609
Doc/library/enum.rst
@@ -807,9 +807,9 @@ Utilities and Decorators
807
call an *Enum*'s :meth:`_generate_next_value_` to get an appropriate value.
808
For *Enum* and *IntEnum* that appropriate value will be the last value plus
809
one; for *Flag* and *IntFlag* it will be the first power-of-two greater
810
- than the last value; for *StrEnum* it will be the lower-cased version of the
811
- member's name. Care must be taken if mixing *auto()* with manually specified
812
- 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.
813
814
*auto* instances are only resolved when at the top level of an assignment:
815
0 commit comments