Skip to content
Merged
Prev Previous commit
Next Next commit
Update description
  • Loading branch information
u2rafi committed Jul 28, 2024
commit e8c368ef9bf2ae1ac2eda0a62650ef28d00fd50c
4 changes: 2 additions & 2 deletions Doc/library/enum.rst
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ Module Contents

:class:`EnumDict`

An enum class :class:`dict` that tracks order and enforces unique member names.
A subclass of :class:`dict` that tracks order and enforces unique member names.

:class:`EnumType`

Expand Down Expand Up @@ -165,7 +165,7 @@ Data Types

.. class:: EnumDict

*EnumDict* is used by *EnumType* to keep track of the enum member orders and prevent reusing the member names.
*EnumDict* is a subclass of :class:`dict` that keeps track of the order of enum members and prevents reusing member names. Use *EnumDict* when member names must be unique and their order needs to be preserved.

.. attribute:: EnumDict.member_names

Expand Down