We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bdc93b8 commit e3a3863Copy full SHA for e3a3863
Doc/library/enum.rst
@@ -804,6 +804,11 @@ Utilities and Decorators
804
* ``THREE = [auto(), -3]`` will *not* work (``<auto instance>, -3`` is used to
805
create the ``THREE`` enum member)
806
807
+ .. versionchanged:: 3.11.1
808
+
809
+ In prior versions, ``auto()`` had to be the only thing
810
+ on the assignment line to work properly.
811
812
``_generate_next_value_`` can be overridden to customize the values used by
813
*auto*.
814
0 commit comments