Home
last modified time | relevance | path

Searched refs:__members__ (Results 1 – 25 of 31) sorted by relevance

12

/external/fonttools/Lib/fontTools/ufoLib/
Dutils.py65 return max(cls.__members__.values())
69 return frozenset(cls.__members__.values())
/external/python/pybind11/tests/
Dtest_enum.py36 assert m.UnscopedEnum.__members__ == {
43 m.UnscopedEnum.__members__ = {}
45 nonaliased_members = m.UnscopedEnum.__members__
47 assert m.UnscopedEnum.__members__ == {
/external/llvm-project/debuginfo-tests/dexter/dex/command/commands/
DDexExpectStepKind.py30 [kind for kind, _ in StepKind.__members__.items()]))
/external/python/enum34/enum/doc/
Denum.rst214 The special attribute ``__members__`` is a dictionary mapping names to members.
217 >>> for name, member in sorted(Shape.__members__.items()):
225 The ``__members__`` attribute can be used for detailed programmatic access to
228 >>> [name for name, member in Shape.__members__.items() if member.name != name]
517 enumeration's ``__members__`` gathering any aliases it finds; if any are
546 ... value = len(cls.__members__) + 1
714 The ``__members__`` attribute is only available on the class.
716 In Python 3.x ``__members__`` is always an ``OrderedDict``, with the order being
717 the definition order. In Python 2.7 ``__members__`` is an ``OrderedDict`` if
719 2.x versions ``__members__`` is a plain ``dict`` even if ``__order__`` was specified
[all …]
/external/tensorflow/tensorflow/tools/common/
Dtraverse.py44 for enum_member in root.__members__.items():
/external/python/enum34/enum/
D__init__.py367 def __members__(cls): member in EnumMeta
806 module_globals.update(cls.__members__)
827 for name, member in enumeration.__members__.items():
Dtest.py241 self.assertTrue(type(Ordered.__members__) is OrderedDict)
247 self.assertTrue(type(Unordered.__members__) is OrderedDict)
255 self.assertTrue(type(AlwaysOrdered.__members__) is OrderedDict)
475 set([k for k,v in Season.__members__.items() if v.name != k]),
607 self.assertEqual([k for k,v in WeekDay.__members__.items()
1573 value = len(cls.__members__) + 1
1590 value = len(cls.__members__) + 1
1609 value = len(cls.__members__) + 1
1737 value = [len(cls.__members__) + 1]
/external/python/cpython3/Doc/library/
Denum.rst231 enumeration's :attr:`__members__` gathering any aliases it finds; if any are
295 The special attribute ``__members__`` is a read-only ordered mapping of names
299 >>> for name, member in Shape.__members__.items():
307 The ``__members__`` attribute can be used for detailed programmatic access to
310 >>> [name for name, member in Shape.__members__.items() if member.name != name]
875 ... value = len(cls.__members__) + 1
894 ... value = len(cls.__members__) + 1
1077 :attr:`__members__` is a read-only ordered mapping of ``member_name``:``member``
1170 …CURY', 'NEPTUNE', 'SATURN', 'URANUS', 'VENUS', '__class__', '__doc__', '__members__', '__module__']
/external/python/parse_type/parse_type/
Dbuilder.py109 enum_mappings = enum_class.__members__
/external/tensorflow/tensorflow/python/autograph/core/
Dconverter.py125 return tuple(cls.__members__.values())
/external/python/cpython3/Lib/
Denum.py364 def __members__(cls): member in EnumMeta
474 module_globals.update(cls.__members__)
878 for name, member in enumeration.__members__.items():
Dre.py180 globals().update(RegexFlag.__members__)
Dplistlib.py65 globals().update(PlistFormat.__members__)
Dssl.py153 _PROTOCOL_NAMES = {value: name for name, value in _SSLMethod.__members__.items()}
/external/python/cpython3/Lib/test/
Dtest_enum.py392 [k for k,v in Season.__members__.items() if v.name != k],
698 self.assertEqual([k for k,v in WeekDay.__members__.items()
1521 value = len(cls.__members__) + 1
1538 value = len(cls.__members__) + 1
1554 value = len(cls.__members__) + 1
1721 value = [len(cls.__members__) + 1]
3033 ('__members__', self.Color.__members__),
3062 defining_class=EnumMeta, object=EnumMeta.__members__),
Dtest_socket.py1823 unknown_family = max(socket.AddressFamily.__members__.values()) + 1
1827 for name, kind in socket.SocketKind.__members__.items()
/external/toolchain-utils/afdo_tools/bisection/
Dafdo_prof_analysis.py48 statuses = StatusEnum.__members__.values()
/external/python/cpython3/Lib/http/
Dclient.py102 globals().update(http.HTTPStatus.__members__)
106 responses = {v: v.phrase for v in http.HTTPStatus.__members__.values()}
Dserver.py624 for v in HTTPStatus.__members__.values()
/external/python/cpython2/Lib/test/
Dtest_py3kwarn.py196 __members__ = ['b'] variable in TestPy3KWarnings.test_methods_members.C
/external/python/pybind11/docs/
Dclasses.rst495 The entries defined by the enumeration type are exposed in the ``__members__`` property:
499 >>> Pet.Kind.__members__
/external/python/cpython2/Misc/NEWS.d/
D2.6a2.rst105 add Py3k warnings for __methods__ and __members__. (See also: bpo-2347)
/external/python/cpython3/Doc/whatsnew/
D3.0.rst780 * Removed support for :attr:`__members__` and :attr:`__methods__`.
D2.2.rst157 conventions, such as defining :attr:`__members__` and :attr:`__methods__`
/external/python/cpython2/Doc/whatsnew/
D2.2.rst157 conventions, such as defining :attr:`__members__` and :attr:`__methods__`

12