Home
last modified time | relevance | path

Searched refs:__dir__ (Results 1 – 25 of 41) sorted by relevance

12

/external/tensorflow/tensorflow/python/platform/
Dflags.py93 def __dir__(self): member in _FlagValuesWrapper
94 return self.__dict__['__wrapped'].__dir__()
/external/python/cpython3/Lib/test/
Dbad_getattr.py4 __dir__ = "Surprise again!" variable
Dbad_getattr2.py6 def __dir__(bad_sig): function
Dgood_getattr.py3 def __dir__(): function
Dtest_pydoc.py1101 def __dir__(cls): member in PydocWithMetaClasses.test_virtualClassAttributeWithOneMeta.Meta
1122 def __dir__(cls): member in PydocWithMetaClasses.test_virtualClassAttributeWithTwoMeta.Meta1
1129 def __dir__(cls): member in PydocWithMetaClasses.test_virtualClassAttributeWithTwoMeta.Meta2
1136 def __dir__(cls): member in PydocWithMetaClasses.test_virtualClassAttributeWithTwoMeta.Meta3
1139 Meta1.__dir__(cls) + Meta2.__dir__(cls))))
1168 def __dir__(cls): member in PydocWithMetaClasses.test_buggy_dir.M
Dtest_inspect.py1020 def __dir__(self): member in TestClassesAndFunctions.test_classify_metaclass_class_attribute.Meta
1029 def __dir__(cls): member in TestClassesAndFunctions.test_classify_VirtualAttribute.Meta
1042 def __dir__(cls): member in TestClassesAndFunctions.test_classify_VirtualAttribute_multi_classes.Meta1
1049 def __dir__(cls): member in TestClassesAndFunctions.test_classify_VirtualAttribute_multi_classes.Meta2
1056 def __dir__(cls): member in TestClassesAndFunctions.test_classify_VirtualAttribute_multi_classes.Meta3
1058 Meta1.__dir__(cls) + Meta2.__dir__(cls))))
1077 def __dir__(cls): member in TestClassesAndFunctions.test_classify_class_attrs_with_buggy_dir.M
1142 def __dir__(cls): member in TestClassesAndFunctions.test_getmembers_with_buggy_dir.M
Dtest_builtin.py414 def __dir__(self): member in BuiltinTest.test_dir.Foo
421 def __dir__(self): member in BuiltinTest.test_dir.Foo
429 def __dir__(self): member in BuiltinTest.test_dir.Foo
441 self.assertEqual(sorted([].__dir__()), dir([]))
/external/python/cpython3/Lib/concurrent/futures/
D__init__.py35 def __dir__(): function
/external/tensorflow/tensorflow/python/util/
Dlazy_loader.py64 def __dir__(self): member in LazyLoader
/external/scapy/scapy/modules/
Dsix.py135 def __dir__(self): member in _LazyModule
489 def __dir__(self): member in Module_six_moves_urllib
/external/python/setuptools/pkg_resources/_vendor/
Dsix.py130 def __dir__(self): member in _LazyModule
479 def __dir__(self): member in Module_six_moves_urllib
/external/python/setuptools/setuptools/_vendor/
Dsix.py130 def __dir__(self): member in _LazyModule
479 def __dir__(self): member in Module_six_moves_urllib
/external/python/six/
Dsix.py130 def __dir__(self): member in _LazyModule
485 def __dir__(self): member in Module_six_moves_urllib
DCHANGES173 - Pull request #24: Add __dir__ special method to six.moves modules.
/external/python/cpython3/Lib/
Denum.py331 def __dir__(self): member in EnumMeta
586 def __dir__(self): member in Enum
/external/python/cpython3/Lib/unittest/test/testmock/
Dtestmagicmethods.py385 mock.__dir__ = _dir
/external/python/mock/mock/tests/
Dtestmagicmethods.py447 mock.__dir__ = _dir
/external/python/cpython2/Lib/test/
D_mock_backport.py657 def __dir__(self): member in NonCallableMock
660 return object.__dir__(self)
Dtest_builtin.py317 def __dir__(self): member in BuiltinTest.test_dir.Foo
324 def __dir__(self): member in BuiltinTest.test_dir.Foo
/external/python/cpython3/Lib/unittest/
Dmock.py676 def __dir__(self): member in NonCallableMock
679 return object.__dir__(self)
/external/python/mock/mock/
Dmock.py781 def __dir__(self): member in NonCallableMock
785 return object.__dir__(self)
/external/python/cpython2/Misc/NEWS.d/
D2.7.2rc1.rst18 Correct lookup of __dir__ on objects. This allows old-style classes to have
19 __dir__. It also causes errors besides AttributeError found on lookup to be
/external/python/cpython3/Misc/NEWS.d/
D3.7.0a4.rst185 :pep:`562`: Add support for module ``__getattr__`` and ``__dir__``. Implemented
/external/python/cpython3/Doc/reference/
Ddatamodel.rst1543 .. method:: object.__dir__(self)
1554 single: __dir__ (module attribute)
1557 Special names ``__getattr__`` and ``__dir__`` can be also used to customize
1566 The ``__dir__`` function should accept no arguments, and return a list of
1597 ``__getattr__`` and ``__dir__`` module attributes.
1601 :pep:`562` - Module __getattr__ and __dir__
1602 Describes the ``__getattr__`` and ``__dir__`` functions on modules.
/external/python/cpython3/Objects/
Dobject.c15 _Py_IDENTIFIER(__dir__);

12