@@ -383,8 +383,8 @@ enumeration, with the exception of special methods (:meth:`__str__`,
383383variable names listed in :attr: `_ignore_ `.
384384
385385Note: if your enumeration defines :meth: `__new__ ` and/or :meth: `__init__ ` then
386- whatever value(s) were given to the enum member will be passed into those
387- methods. See `Planet `_ for an example.
386+ any value(s) given to the enum member will be passed into those methods.
387+ See `Planet `_ for an example.
388388
389389
390390Restricted Enum subclassing
@@ -730,8 +730,7 @@ Some rules:
7307302. While :class: `Enum ` can have members of any type, once you mix in an
731731 additional type, all the members must have values of that type, e.g.
732732 :class: `int ` above. This restriction does not apply to mix-ins which only
733- add methods and don't specify another data type such as :class: `int ` or
734- :class: `str `.
733+ add methods and don't specify another type.
7357343. When another data type is mixed in, the :attr: `value ` attribute is *not the
736735 same * as the enum member itself, although it is equivalent and will compare
737736 equal.
@@ -1054,7 +1053,7 @@ Supported ``_sunder_`` names
10541053
10551054- ``_missing_ `` -- a lookup function used when a value is not found; may be
10561055 overridden
1057- - ``_ignore_ `` -- a list of names, either as a :func : `list ` or a :func : `str `,
1056+ - ``_ignore_ `` -- a list of names, either as a :class : `list ` or a :class : `str `,
10581057 that will not be transformed into members, and will be removed from the final
10591058 class
10601059- ``_order_ `` -- used in Python 2/3 code to ensure member order is consistent
0 commit comments