Thanks to visit codestin.com Credit goes to github.com
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 fd0f84b commit 43b586bCopy full SHA for 43b586b
1 file changed
Doc/library/enum.rst
@@ -837,16 +837,18 @@ Finer Points
837
Enum class signature
838
~~~~~~~~~~~~~~~~~~~~
839
840
- ``class SomeName(
841
- AnEnum,
842
- start=None,
843
- ignore='staticmethod classmethod property',
844
- ):``
+::
845
846
-``start`` can be used by a :meth:`_generate_next_value_` method to specify a
+ class SomeName(
+ AnEnum,
+ start=None,
+ ignore='staticmethod classmethod property',
+ ):
847
+
848
+*start* can be used by a :meth:`_generate_next_value_` method to specify a
849
starting value.
850
-``ignore`` specifies which names, if any, will not attempt to auto-generate
851
+*ignore* specifies which names, if any, will not attempt to auto-generate
852
a new value (they will also be removed from the class body).
853
854
0 commit comments