Home
last modified time | relevance | path

Searched refs:__getattribute__ (Results 1 - 25 of 26) sorted by relevance

12

/third_party/python/Lib/
H A D_threading_local.py192 impl = object.__getattribute__(self, '_local__impl')
221 def __getattribute__(self, name): member in local
223 return object.__getattribute__(self, name)
H A Dtyping.py3330 def __getattribute__(cls, name): member in _DeprecatedType
3339 return super().__getattribute__(name)
H A Dinspect.py600 __getattr__ or __getattribute__. Optionally, only return members that
1772 instance_dict = object.__getattribute__(obj, "__dict__")
1810 descriptor protocol, __getattr__ or __getattribute__.
H A Dpydoc.py159 doc = object.__getattribute__(obj, '__doc__')
/third_party/littlefs/scripts/
H A Dsummary.py323 **{k: object.__getattribute__(self, k)
324 + object.__getattribute__(other, k)
327 def __getattribute__(self, k): function
329 if object.__getattribute__(self, k):
330 return ops.get(k, OPS['sum'])(object.__getattribute__(self, k))
333 return object.__getattribute__(self, k)
339 '__getattribute__': __getattribute__,
/third_party/python/Lib/importlib/
H A Dutil.py226 def __getattribute__(self, attr): member in _LazyModule
264 self.__getattribute__(attr)
/third_party/python/Lib/test/
H A Dtest_rlcompleter.py93 def __getattribute__(self, name): member in TestRlcompleter.test_excessive_getattr.Foo
97 return super().__getattribute__(name)
H A Dtest_opcache.py143 def __getattribute__(self, name): member in TestLoadAttrCache.test_metaclass_getattribute.Metaclass
393 def __getattribute__(self, name): member in TestLoadMethodCache.test_metaclass_getattribute.Metaclass
H A Dtest_copy.py84 def __getattribute__(self, name): member in TestCopy.test_copy_cant.C
87 return object.__getattribute__(self, name)
349 def __getattribute__(self, name): member in TestCopy.test_deepcopy_cant.C
352 return object.__getattribute__(self, name)
H A Dtest_descr.py824 def __getattribute__(self, name): member in ClassPropertiesAndMethods.test_module_subclasses.MM
826 return MT.__getattribute__(self, name)
2033 # __getattribute__, but they still can be descriptors.
2095 def __getattribute__(self, attr, test=self): member in .test_special_method_lookup.Checker
2097 test.fail("__getattribute__ called with {0}".format(attr))
2098 return object.__getattribute__(self, attr)
3512 def __getattribute__(self, name): function
3515 return object.__getattribute__(self, name)
3516 A.__getattribute__ = __getattribute__
3989 def __getattribute__(self, attr): global() member in .test_mutable_bases.C2
4329 def __getattribute__(self, name): global() member in .test_isinst_isclass.Proxy
4368 def __getattribute__(self, name): global() member in .test_proxy_super.Proxy
4692 __getattribute__ = descr global() variable in .test_getattr_hooks.A
4696 __getattribute__ = descr global() variable in .test_getattr_hooks.C
4710 def __getattribute__(self, name): global() member in .test_getattr_hooks.EvilGetattribute
[all...]
H A Dtest_exceptions.py2062 object.__getattribute__(obj, "bluch")
2300 def __getattribute__(self, attr): member in AttributeErrorTests.test_attribute_error_inside_nested_getattr.B
H A Dtest_buffer.py3914 self.assertRaises(ValueError, m.__getattribute__, attr)
/third_party/jinja2/
H A Dutils.py742 def __getattribute__(self, name: str) -> t.Any: member in Namespace
745 return object.__getattribute__(self, name)
/third_party/node/deps/v8/third_party/jinja2/
H A Dutils.py704 def __getattribute__(self, name): member in Namespace
707 return object.__getattribute__(self, name)
/third_party/node/tools/inspector_protocol/jinja2/
H A Dutils.py623 def __getattribute__(self, name): member in Namespace
625 return object.__getattribute__(self, name)
/third_party/skia/third_party/externals/jinja2/
H A Dutils.py704 def __getattribute__(self, name): member in Namespace
707 return object.__getattribute__(self, name)
/third_party/python/Lib/multiprocessing/
H A Dmanagers.py1101 _exposed_ = ('__getattribute__', 'wait', 'abort', 'reset')
1110 return self._callmethod('__getattribute__', ('parties',))
1113 return self._callmethod('__getattribute__', ('n_waiting',))
1116 return self._callmethod('__getattribute__', ('broken',))
1120 _exposed_ = ('__getattribute__', '__setattr__', '__delattr__')
1123 return object.__getattribute__(self, key)
1124 callmethod = object.__getattribute__(self, '_callmethod')
1125 return callmethod('__getattribute__', (key,))
1129 callmethod = object.__getattribute__(self, '_callmethod')
1134 callmethod = object.__getattribute__(sel
[all...]
/third_party/python/Include/internal/
H A Dpycore_global_strings.h107 STRUCT_FOR_ID(__getattribute__)
H A Dpycore_runtime_init.h730 INIT_ID(__getattribute__), \
/third_party/python/Modules/_decimal/tests/
H A Ddeccheck.py332 def __getattribute__(self, name): member in RestrictedList
335 return list.__getattribute__(self, name)
/third_party/python/Lib/unittest/
H A Dmock.py2593 def __getattribute__(self, attr): member in _Call
2596 return tuple.__getattribute__(self, attr)
/third_party/node/deps/v8/tools/
H A Dll_prof.py466 return ", ".join("%s: %s" % (field, self.__getattribute__(field))
H A Dgrokdump.py117 return "{" + ", ".join("%s: %s" % (field, self.__getattribute__(field))
1065 return self.exception_context.__getattribute__(name)
/third_party/python/Tools/clinic/
H A Dclinic.py2232 __getattribute__
2445 def __getattribute__(self, name): member in LandMine
2447 return super().__getattribute__(name)
/third_party/python/Objects/
H A Dtypeobject.c7644 - slot_tp_getattro() is used when __getattribute__ is overridden
7657 return vectorcall_method(&_Py_ID(__getattribute__), stack, 2); in slot_tp_getattro()
7698 __getattr__, even when self has the default __getattribute__ in slot_tp_getattr_hook()
7701 getattribute = _PyType_Lookup(tp, &_Py_ID(__getattribute__)); in slot_tp_getattr_hook()
8040 TPSLOT("__getattribute__", tp_getattr, NULL, NULL, ""),
8053 TPSLOT("__getattribute__", tp_getattro, slot_tp_getattr_hook,
8055 "__getattribute__($self, name, /)\n--\n\nReturn getattr(self, name)."),

Completed in 68 milliseconds

12