Lines Matching defs:func
370 _Pickle_FastCall(PyObject *func, PyObject *obj)
374 result = PyObject_CallOneArg(func, obj);
387 PyObject *func, *func2;
392 ret = _PyObject_LookupAttr(self, name, &func);
393 if (func == NULL) {
399 if (PyMethod_Check(func) && PyMethod_GET_SELF(func) == self) {
401 func2 = PyMethod_GET_FUNCTION(func);
405 Py_DECREF(func);
410 Py_XSETREF(*method_func, func);
417 reconstruct_method(PyObject *func, PyObject *self)
420 return PyMethod_New(func, self);
423 Py_INCREF(func);
424 return func;
429 call_method(PyObject *func, PyObject *self, PyObject *obj)
432 return PyObject_CallFunctionObjArgs(func, self, obj, NULL);
435 return PyObject_CallOneArg(func, obj);
5822 PyObject *func;
5823 if (_PyObject_LookupAttr(cls, &_Py_ID(__getinitargs__), &func) < 0) {
5826 if (func == NULL) {
5829 Py_DECREF(func);