You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Doc/library/enum.rst
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -66,7 +66,7 @@ Module Contents
66
66
67
67
:class:`EnumDict`
68
68
69
-
An enum class:class:`dict` that tracks order and enforces unique member names.
69
+
A subclass of:class:`dict` that tracks order and enforces unique member names.
70
70
71
71
:class:`EnumType`
72
72
@@ -165,7 +165,7 @@ Data Types
165
165
166
166
.. class:: EnumDict
167
167
168
-
*EnumDict* is used by *EnumType* to keep track of the enum member orders and prevent reusing the member names.
168
+
*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.
0 commit comments