Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gh-112328: Make EnumDict usable on its own and document it #123669

Merged
merged 13 commits into from
Dec 20, 2024
Prev Previous commit
Next Next commit
Update Doc/library/enum.rst
Co-authored-by: Sviatoslav Sydorenko (Святослав Сидоренко) <wk.cvs.github@sydorenko.org.ua>
  • Loading branch information
u2rafi and webknjaz authored Jul 16, 2024
commit 11e2fd194b6c74f0c0b2f7c7d1babb52a488a33a
4 changes: 2 additions & 2 deletions Doc/library/enum.rst
Original file line number Diff line number Diff line change
Expand Up @@ -179,12 +179,12 @@ Data Types

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

.. class:: EnumType

*EnumType* is the :term:`metaclass` for *enum* enumerations. It is possible
to subclass *EnumType* -- see :ref:`Subclassing EnumType <enumtype-examples>`
for details.

.. class:: EnumType

``EnumType`` is responsible for setting the correct :meth:`!__repr__`,
:meth:`!__str__`, :meth:`!__format__`, and :meth:`!__reduce__` methods on the
final *enum*, as well as creating the enum members, properly handling
Expand Down
Loading