Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/tools/common/
Dtraverse.py41 for enum_member in root.__members__.items():
/external/python/cpython3/Lib/
Denum.py361 def __members__(cls): member in EnumMeta
665 module_globals.update(cls.__members__)
862 for name, member in enumeration.__members__.items():
Dre.py162 globals().update(RegexFlag.__members__)
Dplistlib.py69 globals().update(PlistFormat.__members__)
Dssl.py153 _PROTOCOL_NAMES = {value: name for name, value in _SSLMethod.__members__.items()}
/external/python/cpython3/Doc/library/
Denum.rst224 enumeration's :attr:`__members__` gathering any aliases it finds; if any are
284 The special attribute ``__members__`` is an ordered dictionary mapping names
288 >>> for name, member in Shape.__members__.items():
296 The ``__members__`` attribute can be used for detailed programmatic access to
299 >>> [name for name, member in Shape.__members__.items() if member.name != name]
832 ... value = len(cls.__members__) + 1
1008 :attr:`__members__` is an :class:`OrderedDict` of ``member_name``:``member``
1101 …CURY', 'NEPTUNE', 'SATURN', 'URANUS', 'VENUS', '__class__', '__doc__', '__members__', '__module__']
/external/tensorflow/tensorflow/python/autograph/core/
Dconverter.py123 return tuple(cls.__members__.values())
/external/python/cpython3/Lib/test/
Dtest_enum.py399 [k for k,v in Season.__members__.items() if v.name != k],
604 self.assertEqual([k for k,v in WeekDay.__members__.items()
1424 value = len(cls.__members__) + 1
1441 value = len(cls.__members__) + 1
1457 value = len(cls.__members__) + 1
1627 value = [len(cls.__members__) + 1]
2900 ('__members__', self.Color.__members__),
2929 defining_class=EnumMeta, object=EnumMeta.__members__),
Dtest_socket.py1699 unknown_family = max(socket.AddressFamily.__members__.values()) + 1
1703 for name, kind in socket.SocketKind.__members__.items()
/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.py623 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/cpython2/Misc/NEWS.d/
D2.6a2.rst105 add Py3k warnings for __methods__ and __members__. (See also: bpo-2347)
D2.7a1.rst891 traceback.__members__ no longer exists.)
/external/tensorflow/tensorflow/compiler/xla/python/
Dxla_client_test.py37 for name, value in xla_client.PrimitiveType.__members__.items():
41 for name, value in xla_client.Format.__members__.items():
/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__`
/external/python/cpython2/Doc/library/
Dstdtypes.rst3145 .. attribute:: object.__members__
/external/python/cpython2/Misc/
DHISTORY13439 __members__ and __methods__.
13480 now *do* support the __members__ and __methods__ special attributes.
17283 - many objects support __dict__, __methods__ or __members__.
/external/python/cpython3/Misc/
DHISTORY17214 - Removed support for __members__ and __methods__.
30818 __members__ and __methods__.
30859 now *do* support the __members__ and __methods__ special attributes.
34662 - many objects support __dict__, __methods__ or __members__.