Home
last modified time | relevance | path

Searched refs:__getattribute__ (Results 1 – 25 of 50) sorted by relevance

12

/external/python/cpython2/Lib/
D_threading_local.py164 dict = object.__getattribute__(self, '__dict__')
170 key = object.__getattribute__(self, '_local__key')
181 args, kw = object.__getattribute__(self, '_local__args')
188 def __getattribute__(self, name): member in local
189 lock = object.__getattribute__(self, '_local__lock')
193 return object.__getattribute__(self, name)
202 lock = object.__getattribute__(self, '_local__lock')
215 lock = object.__getattribute__(self, '_local__lock')
226 key = object.__getattribute__(self, '_local__key')
/external/tensorflow/tensorflow/python/platform/
Dflags.py74 def __getattribute__(self, name): member in _FlagValuesWrapper
76 return super(_FlagValuesWrapper, self).__getattribute__(name)
77 return self.__dict__['__wrapped'].__getattribute__(name)
/external/python/cpython3/Lib/
D_threading_local.py196 impl = object.__getattribute__(self, '_local__impl')
225 def __getattribute__(self, name): member in local
227 return object.__getattribute__(self, name)
/external/python/cpython3/Doc/howto/
Ddescriptor.rst91 For objects, the machinery is in :meth:`object.__getattribute__` which
99 For classes, the machinery is in :meth:`type.__getattribute__` which transforms
103 def __getattribute__(self, key):
105 v = object.__getattribute__(self, key)
112 * descriptors are invoked by the :meth:`__getattribute__` method
113 * overriding :meth:`__getattribute__` prevents automatic descriptor calls
114 * :meth:`object.__getattribute__` and :meth:`type.__getattribute__` make
119 The object returned by ``super()`` also has a custom :meth:`__getattribute__`
124 search using :meth:`object.__getattribute__`.
133 :meth:`__getattribute__()` methods for :class:`object`, :class:`type`, and
[all …]
/external/python/cpython2/Doc/howto/
Ddescriptor.rst95 For objects, the machinery is in :meth:`object.__getattribute__` which
103 For classes, the machinery is in :meth:`type.__getattribute__` which transforms
107 def __getattribute__(self, key):
109 v = object.__getattribute__(self, key)
116 * descriptors are invoked by the :meth:`__getattribute__` method
117 * overriding :meth:`__getattribute__` prevents automatic descriptor calls
118 * :meth:`__getattribute__` is only available with new style classes and objects
119 * :meth:`object.__getattribute__` and :meth:`type.__getattribute__` make
124 The object returned by ``super()`` also has a custom :meth:`__getattribute__`
129 search using :meth:`object.__getattribute__`.
[all …]
/external/tensorflow/tensorflow/python/util/
Dtf_should_use.py70 def __getattribute__(self, name): member in _add_should_use_warning.TFShouldUseWarningWrapper
71 return super(TFShouldUseWarningWrapper, self).__getattribute__(name)
/external/autotest/frontend/afe/
Ddirect_afe.py17 func = rpc_interface.__getattribute__(call)
/external/python/cpython3/Lib/importlib/
Dutil.py211 def __getattribute__(self, attr): member in _LazyModule
250 self.__getattribute__(attr)
/external/autotest/client/common_lib/
Dmetrics_mock_class.py48 def __getattribute__(self, name): member in mock_class_base
/external/python/cpython2/Lib/test/
Dtest_descr.py660 def __getattribute__(self, name): member in ClassPropertiesAndMethods.test_module_subclasses.MM
662 return MT.__getattribute__(self, name)
1753 def __getattribute__(self, attr, test=self): member in ClassPropertiesAndMethods.test_special_method_lookup.Checker
1756 return object.__getattribute__(self, attr)
3512 def __getattribute__(self, name): function
3515 return object.__getattribute__(self, name)
3516 A.__getattribute__ = __getattribute__
3527 del A.__getattribute__
3947 def __getattribute__(self, attr): member in ClassPropertiesAndMethods.test_mutable_bases.C2
3951 return super(C2, self).__getattribute__(attr)
[all …]
Dtest_copy.py69 def __getattribute__(self, name): member in TestCopy.test_copy_cant.C
72 return object.__getattribute__(self, name)
288 def __getattribute__(self, name): member in TestCopy.test_deepcopy_cant.C
291 return object.__getattribute__(self, name)
Dtest_class.py635 self.assertRaises(TypeError, type(c).__getattribute__, c, [])
/external/python/cpython2/Lib/multiprocessing/
Dmanagers.py1021 return object.__getattribute__(self, key)
1022 callmethod = object.__getattribute__(self, '_callmethod')
1027 callmethod = object.__getattribute__(self, '_callmethod')
1032 callmethod = object.__getattribute__(self, '_callmethod')
/external/python/cpython3/Lib/test/
Dtest_descr.py812 def __getattribute__(self, name): member in ClassPropertiesAndMethods.test_module_subclasses.MM
814 return MT.__getattribute__(self, name)
1936 def __getattribute__(self, attr, test=self): member in ClassPropertiesAndMethods.test_special_method_lookup.Checker
1939 return object.__getattribute__(self, attr)
3358 def __getattribute__(self, name): function
3361 return object.__getattribute__(self, name)
3362 A.__getattribute__ = __getattribute__
3373 del A.__getattribute__
3793 def __getattribute__(self, attr): member in ClassPropertiesAndMethods.test_mutable_bases.C2
3797 return super(C2, self).__getattribute__(attr)
[all …]
Dtest_copy.py80 def __getattribute__(self, name): member in TestCopy.test_copy_cant.C
83 return object.__getattribute__(self, name)
342 def __getattribute__(self, name): member in TestCopy.test_deepcopy_cant.C
345 return object.__getattribute__(self, name)
/external/python/cpython3/Lib/multiprocessing/
Dmanagers.py1058 return object.__getattribute__(self, key)
1059 callmethod = object.__getattribute__(self, '_callmethod')
1064 callmethod = object.__getattribute__(self, '_callmethod')
1069 callmethod = object.__getattribute__(self, '_callmethod')
/external/libmojo/base/android/jni_generator/
Djni_generator_tests.py54 self.assertListEquals(value, second.__getattribute__(key))
56 actual = second.__getattribute__(key)
/external/tensorflow/tensorflow/python/training/
Dcheckpointable.py76 return self.__getattribute__(attr)
/external/python/cpython3/Modules/_decimal/tests/
Ddeccheck.py311 def __getattribute__(self, name): member in RestrictedList
314 return list.__getattribute__(self, name)
/external/scapy/scapy/
Dconfig.py184 return object.__getattribute__(self, item)
/external/python/cpython3/Doc/reference/
Ddatamodel.rst1450 :meth:`__getattribute__` method below for a way to actually get total control
1454 .. method:: object.__getattribute__(self, name)
1458 called unless :meth:`__getattribute__` either calls it explicitly or raises an
1463 ``object.__getattribute__(self, name)``.
2371 :meth:`__getattribute__` method even of the object's metaclass::
2374 ... def __getattribute__(*args):
2376 ... return type.__getattribute__(*args)
2381 ... def __getattribute__(*args):
2383 ... return object.__getattribute__(*args)
2395 Bypassing the :meth:`__getattribute__` machinery in this fashion
/external/python/cpython2/Doc/reference/
Ddatamodel.rst1495 :meth:`__getattribute__` method below for a way to actually get total control in
1530 .. method:: object.__getattribute__(self, name)
1534 called unless :meth:`__getattribute__` either calls it explicitly or raises an
1539 ``object.__getattribute__(self, name)``.
2475 :meth:`__getattribute__` method even of the object's metaclass::
2478 ... def __getattribute__(*args):
2480 ... return type.__getattribute__(*args)
2486 ... def __getattribute__(*args):
2488 ... return object.__getattribute__(*args)
2500 Bypassing the :meth:`__getattribute__` machinery in this fashion
/external/capstone/bindings/python/capstone/
D__init__.py572 attr = object.__getattribute__
/external/v8/tools/
Dll_prof.py463 return ", ".join("%s: %s" % (field, self.__getattribute__(field))
/external/libmojo/third_party/ply/
Dlex.py95 def __getattribute__(self,name): member in NullLogger

12