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 d00adac commit 3bff0b9Copy full SHA for 3bff0b9
Doc/library/enum.rst
@@ -183,6 +183,8 @@ Data Types
183
to subclass *EnumType* -- see :ref:`Subclassing EnumType <enumtype-examples>`
184
for details.
185
186
+.. class:: EnumType
187
+
188
``EnumType`` is responsible for setting the correct :meth:`!__repr__`,
189
:meth:`!__str__`, :meth:`!__format__`, and :meth:`!__reduce__` methods on the
190
final *enum*, as well as creating the enum members, properly handling
0 commit comments