Searched refs:EnumMeta (Results 1 – 7 of 7) sorted by relevance
/third_party/python/Lib/ |
D | enum.py | 161 class EnumMeta(type): class 672 class Enum(metaclass=EnumMeta):
|
/third_party/python/Doc/library/ |
D | enum.rst | 1052 The :class:`EnumMeta` metaclass is responsible for providing the 1055 class, such as `list(Color)` or `some_enum_var in Color`. :class:`EnumMeta` is 1065 :class:`EnumMeta` creates them all while it is creating the :class:`Enum`
|
/third_party/python/Lib/test/ |
D | test_enum.py | 8 from enum import Enum, IntEnum, EnumMeta, Flag, IntFlag, unique, auto 3272 ('__class__', EnumMeta), 3299 defining_class=object, object=EnumMeta), 3303 defining_class=EnumMeta, object=EnumMeta.__members__),
|
/third_party/python/Misc/NEWS.d/ |
D | 3.10.0a5.rst | 299 [Enum] move member creation from ``EnumMeta.__new__`` to
|
D | 3.10.0a4.rst | 276 ``EnumMeta.__prepare__`` now accepts ``**kwds`` to properly support
|
D | 3.8.0a1.rst | 3376 Move ``Enum._convert`` to ``EnumMeta._convert_`` and fix enum members
|
/third_party/python/Doc/reference/ |
D | datamodel.rst | 2321 <class 'enum.EnumMeta'> 2322 >>> # EnumMeta defines __getitem__,
|