File tree 2 files changed +15
-3
lines changed
2 files changed +15
-3
lines changed Original file line number Diff line number Diff line change @@ -286,6 +286,19 @@ Data Types
286
286
appropriate value will be chosen for you. See :class: `auto ` for the
287
287
details.
288
288
289
+ .. attribute :: Enum._name_
290
+
291
+ Name of the member.
292
+
293
+ .. attribute :: Enum._value_
294
+
295
+ Value of the member, can be set in :meth: `~object.__new__ `.
296
+
297
+ .. attribute :: Enum._order_
298
+
299
+ No longer used, kept for backward compatibility.
300
+ (class attribute, removed during class creation).
301
+
289
302
.. attribute :: Enum._ignore_
290
303
291
304
``_ignore_ `` is only used during creation and is removed from the
@@ -823,8 +836,8 @@ Supported ``_sunder_`` names
823
836
- :attr: `~Enum._ignore_ ` -- a list of names, either as a :class: `list ` or a
824
837
:class: `str `, that will not be transformed into members, and will be removed
825
838
from the final class
826
- - :attr: `~Enum._order_ ` -- used in Python 2/3 code to ensure member order is
827
- consistent (class attribute, removed during class creation)
839
+ - :attr: `~Enum._order_ ` -- no longer used, kept for backward
840
+ compatibility (class attribute, removed during class creation)
828
841
- :meth: `~Enum._generate_next_value_ ` -- used to get an appropriate value for
829
842
an enum member; may be overridden
830
843
Original file line number Diff line number Diff line change @@ -31,7 +31,6 @@ Doc/library/email.compat32-message.rst
31
31
Doc/library/email.errors.rst
32
32
Doc/library/email.parser.rst
33
33
Doc/library/email.policy.rst
34
- Doc/library/enum.rst
35
34
Doc/library/exceptions.rst
36
35
Doc/library/faulthandler.rst
37
36
Doc/library/fcntl.rst
You can’t perform that action at this time.
0 commit comments