File tree Expand file tree Collapse file tree 2 files changed +15
-3
lines changed Expand file tree Collapse file tree 2 files changed +15
-3
lines changed Original file line number Diff line number Diff line change @@ -286,6 +286,19 @@ Data Types
286286 appropriate value will be chosen for you. See :class: `auto ` for the
287287 details.
288288
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+
289302 .. attribute :: Enum._ignore_
290303
291304 ``_ignore_ `` is only used during creation and is removed from the
@@ -823,8 +836,8 @@ Supported ``_sunder_`` names
823836- :attr: `~Enum._ignore_ ` -- a list of names, either as a :class: `list ` or a
824837 :class: `str `, that will not be transformed into members, and will be removed
825838 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)
828841- :meth: `~Enum._generate_next_value_ ` -- used to get an appropriate value for
829842 an enum member; may be overridden
830843
Original file line number Diff line number Diff line change @@ -31,7 +31,6 @@ Doc/library/email.compat32-message.rst
3131Doc/library/email.errors.rst
3232Doc/library/email.parser.rst
3333Doc/library/email.policy.rst
34- Doc/library/enum.rst
3534Doc/library/exceptions.rst
3635Doc/library/faulthandler.rst
3736Doc/library/fcntl.rst
You can’t perform that action at this time.
0 commit comments