Home
last modified time | relevance | path

Searched refs:getattribute (Results 1 - 3 of 3) sorted by relevance

/third_party/python/Lib/test/
H A Dtest_pickle.py409 def getattribute(module, name): function
448 attr = getattribute(module3, name3)
451 attr = getattribute(module3, name3)
458 attr = getattribute(module3, name3)
462 self.assertEqual(getattribute(module, name), attr)
488 attr = getattribute(module3, name3)
/third_party/python/Objects/
H A Dtypeobject.c7682 PyObject *getattr, *getattribute, *res; in slot_tp_getattr_hook() local
7701 getattribute = _PyType_Lookup(tp, &_Py_ID(__getattribute__)); in slot_tp_getattr_hook()
7702 if (getattribute == NULL || in slot_tp_getattr_hook()
7703 (Py_IS_TYPE(getattribute, &PyWrapperDescr_Type) && in slot_tp_getattr_hook()
7704 ((PyWrapperDescrObject *)getattribute)->d_wrapped == in slot_tp_getattr_hook()
7708 Py_INCREF(getattribute); in slot_tp_getattr_hook()
7709 res = call_attribute(self, getattribute, name); in slot_tp_getattr_hook()
7710 Py_DECREF(getattribute); in slot_tp_getattr_hook()
/third_party/python/Modules/
H A D_pickle.c1866 getattribute(PyObject *obj, PyObject *name, int allow_qualname) in getattribute() function
7103 * initialised modules, which then cause the getattribute to fail. in _pickle_Unpickler_find_class_impl()
7109 global = getattribute(module, global_name, self->proto >= 4); in _pickle_Unpickler_find_class_impl()

Completed in 21 milliseconds