@@ -383,8 +383,8 @@ enumeration, with the exception of special methods (:meth:`__str__`,
383
383
variable names listed in :attr: `_ignore_ `.
384
384
385
385
Note: 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.
388
388
389
389
390
390
Restricted Enum subclassing
@@ -730,8 +730,7 @@ Some rules:
730
730
2. While :class: `Enum ` can have members of any type, once you mix in an
731
731
additional type, all the members must have values of that type, e.g.
732
732
: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.
735
734
3. When another data type is mixed in, the :attr: `value ` attribute is *not the
736
735
same * as the enum member itself, although it is equivalent and will compare
737
736
equal.
@@ -1054,7 +1053,7 @@ Supported ``_sunder_`` names
1054
1053
1055
1054
- ``_missing_ `` -- a lookup function used when a value is not found; may be
1056
1055
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 `,
1058
1057
that will not be transformed into members, and will be removed from the final
1059
1058
class
1060
1059
- ``_order_ `` -- used in Python 2/3 code to ensure member order is consistent
0 commit comments