Skip to content

Commit 11e2fd1

Browse files
u2rafiwebknjaz
andauthored
Update Doc/library/enum.rst
Co-authored-by: Sviatoslav Sydorenko (Святослав Сидоренко) <[email protected]>
1 parent 3bff0b9 commit 11e2fd1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Doc/library/enum.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -179,12 +179,12 @@ Data Types
179179

180180
Update the dictionary from the given iterable or dictionary members and more_members.
181181

182+
.. class:: EnumType
183+
182184
*EnumType* is the :term:`metaclass` for *enum* enumerations. It is possible
183185
to subclass *EnumType* -- see :ref:`Subclassing EnumType <enumtype-examples>`
184186
for details.
185187

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

0 commit comments

Comments
 (0)