/external/fonttools/Lib/fontTools/ufoLib/ |
D | utils.py | 65 return max(cls.__members__.values()) 69 return frozenset(cls.__members__.values())
|
/external/python/pybind11/tests/ |
D | test_enum.py | 36 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/ |
D | DexExpectStepKind.py | 30 [kind for kind, _ in StepKind.__members__.items()]))
|
/external/python/enum34/enum/doc/ |
D | enum.rst | 214 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/ |
D | traverse.py | 44 for enum_member in root.__members__.items():
|
/external/python/enum34/enum/ |
D | __init__.py | 367 def __members__(cls): member in EnumMeta 806 module_globals.update(cls.__members__) 827 for name, member in enumeration.__members__.items():
|
D | test.py | 241 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/ |
D | enum.rst | 231 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/ |
D | builder.py | 109 enum_mappings = enum_class.__members__
|
/external/tensorflow/tensorflow/python/autograph/core/ |
D | converter.py | 125 return tuple(cls.__members__.values())
|
/external/python/cpython3/Lib/ |
D | enum.py | 364 def __members__(cls): member in EnumMeta 474 module_globals.update(cls.__members__) 878 for name, member in enumeration.__members__.items():
|
D | re.py | 180 globals().update(RegexFlag.__members__)
|
D | plistlib.py | 65 globals().update(PlistFormat.__members__)
|
D | ssl.py | 153 _PROTOCOL_NAMES = {value: name for name, value in _SSLMethod.__members__.items()}
|
/external/python/cpython3/Lib/test/ |
D | test_enum.py | 392 [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__),
|
D | test_socket.py | 1823 unknown_family = max(socket.AddressFamily.__members__.values()) + 1 1827 for name, kind in socket.SocketKind.__members__.items()
|
/external/toolchain-utils/afdo_tools/bisection/ |
D | afdo_prof_analysis.py | 48 statuses = StatusEnum.__members__.values()
|
/external/python/cpython3/Lib/http/ |
D | client.py | 102 globals().update(http.HTTPStatus.__members__) 106 responses = {v: v.phrase for v in http.HTTPStatus.__members__.values()}
|
D | server.py | 624 for v in HTTPStatus.__members__.values()
|
/external/python/cpython2/Lib/test/ |
D | test_py3kwarn.py | 196 __members__ = ['b'] variable in TestPy3KWarnings.test_methods_members.C
|
/external/python/pybind11/docs/ |
D | classes.rst | 495 The entries defined by the enumeration type are exposed in the ``__members__`` property: 499 >>> Pet.Kind.__members__
|
/external/python/cpython2/Misc/NEWS.d/ |
D | 2.6a2.rst | 105 add Py3k warnings for __methods__ and __members__. (See also: bpo-2347)
|
/external/python/cpython3/Doc/whatsnew/ |
D | 3.0.rst | 780 * Removed support for :attr:`__members__` and :attr:`__methods__`.
|
D | 2.2.rst | 157 conventions, such as defining :attr:`__members__` and :attr:`__methods__`
|
/external/python/cpython2/Doc/whatsnew/ |
D | 2.2.rst | 157 conventions, such as defining :attr:`__members__` and :attr:`__methods__`
|