Skip to content
Prev Previous commit
Next Next commit
re-add sunder versions of name and value
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
  • Loading branch information
ethanfurman and hugovk authored Mar 5, 2024
commit baf05a04849e221ae9a5e6eb63695de5c217b1c3
8 changes: 8 additions & 0 deletions Doc/library/enum.rst
Original file line number Diff line number Diff line change
Expand Up @@ -293,6 +293,14 @@ Data Types
quadratic performance impact during creation relative to the
total number of mutable/unhashable values in the enum.

.. attribute:: Enum._name_

Name of the member.

.. attribute:: Enum._value_

Value of the member, can be set in :meth:`~object.__new__`.

.. attribute:: Enum._order_

No longer used, kept for backward compatibility.
Expand Down