/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Demo/metaclasses/ |
Enum.py | 58 The special attribute __members__ returns the list of names
63 if name == '__members__':
|
/external/python/cpython2/Demo/metaclasses/ |
Enum.py | 58 The special attribute __members__ returns the list of names 63 if name == '__members__':
|
/tools/test/connectivity/acts/framework/acts/ |
keys.py | 94 for name, member in Config.__members__.items():
|
/external/python/cpython3/Doc/library/ |
enum.rst | 224 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] 824 ... value = len(cls.__members__) + 1 981 :attr:`__members__` is an :class:`OrderedDict` of ``member_name``:``member`` 1070 ['EARTH', 'JUPITER', 'MARS', 'MERCURY', 'NEPTUNE', 'SATURN', 'URANUS', 'VENUS', '__class__', '__doc__', '__members__', '__module__']
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Demo/newmetaclasses/ |
Enum.py | 30 if name == "__members__":
|
/external/python/cpython2/Demo/newmetaclasses/ |
Enum.py | 30 if name == "__members__":
|
/external/python/cpython3/Lib/ |
enum.py | 216 # Aliases don't appear in member names (only in __members__). 307 return (['__class__', '__doc__', '__members__', '__module__'] + 336 def __members__(cls): member in class:EnumMeta 634 module_globals.update(cls.__members__) 827 for name, member in enumeration.__members__.items(): [all...] |
/external/python/cpython3/Lib/test/ |
test_enum.py | 164 set(['__class__', '__doc__', '__members__', '__module__', 183 set(['__class__', '__doc__', '__members__', '__module__', 'this', 'these']), 373 [k for k,v in Season.__members__.items() if v.name != k], 578 self.assertEqual([k for k,v in WeekDay.__members__.items() [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/ |
test_py3kwarn.py | 192 expected = '__members__ and __methods__ not supported in 3.x'
195 __members__ = ['b']
variable in class:TestPy3KWarnings.test_methods_members.C
|
/external/python/cpython2/Lib/test/ |
test_py3kwarn.py | 193 expected = '__members__ and __methods__ not supported in 3.x' 196 __members__ = ['b'] variable in class:TestPy3KWarnings.test_methods_members.C
|
/prebuilts/gdb/darwin-x86/lib/python2.7/test/ |
test_py3kwarn.py | 192 expected = '__members__ and __methods__ not supported in 3.x' 195 __members__ = ['b'] variable in class:TestPy3KWarnings.test_methods_members.C
|
/prebuilts/gdb/linux-x86/lib/python2.7/test/ |
test_py3kwarn.py | 192 expected = '__members__ and __methods__ not supported in 3.x' 195 __members__ = ['b'] variable in class:TestPy3KWarnings.test_methods_members.C
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_py3kwarn.py | 192 expected = '__members__ and __methods__ not supported in 3.x' 195 __members__ = ['b'] variable in class:TestPy3KWarnings.test_methods_members.C
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_py3kwarn.py | 192 expected = '__members__ and __methods__ not supported in 3.x' 195 __members__ = ['b'] variable in class:TestPy3KWarnings.test_methods_members.C
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Python/ |
structmember.c | 36 if (strcmp(name, "__members__") == 0)
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Python/ |
structmember.c | 36 if (strcmp(name, "__members__") == 0)
|
/external/python/cpython2/Python/ |
structmember.c | 36 if (strcmp(name, "__members__") == 0)
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Objects/ |
object.c | [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Objects/ |
object.c | [all...] |
/external/python/cpython2/Objects/ |
object.c | [all...] |
/external/python/cpython2/RISCOS/Modules/ |
swimodule.c | 296 if (!strcmp(name, "__members__"))
|
drawfmodule.c | 609 if (!strcmp(name, "__members__"))
|
/prebuilts/misc/common/jython/ |
jython.jar | |
/prebuilts/tools/common/m2/repository/org/python/jython/2.5.3/ |
jython-2.5.3.jar | |
/external/python/cpython2/Mac/Modules/ |
Nav.c | 309 if( strcmp(name, "__members__") == 0 )
|