Skip to content

Commit 3bff0b9

Browse files
committed
Restore deleted EnumType
1 parent d00adac commit 3bff0b9

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Doc/library/enum.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -183,6 +183,8 @@ Data Types
183183
to subclass *EnumType* -- see :ref:`Subclassing EnumType <enumtype-examples>`
184184
for details.
185185

186+
.. class:: EnumType
187+
186188
``EnumType`` is responsible for setting the correct :meth:`!__repr__`,
187189
:meth:`!__str__`, :meth:`!__format__`, and :meth:`!__reduce__` methods on the
188190
final *enum*, as well as creating the enum members, properly handling

0 commit comments

Comments
 (0)