Home
last modified time | relevance | path

Searched refs:fnargs (Results 1 – 2 of 2) sorted by relevance

/external/python/cpython2/Modules/
D_functoolsmodule.c288 PyObject *fn, *fnargs, *kw, *dict; in partial_setstate() local
291 !PyArg_ParseTuple(state, "OOOO", &fn, &fnargs, &kw, &dict) || in partial_setstate()
293 !PyTuple_Check(fnargs) || in partial_setstate()
300 if(!PyTuple_CheckExact(fnargs)) in partial_setstate()
301 fnargs = PySequence_Tuple(fnargs); in partial_setstate()
303 Py_INCREF(fnargs); in partial_setstate()
304 if (fnargs == NULL) in partial_setstate()
314 Py_DECREF(fnargs); in partial_setstate()
325 Py_SETREF(pto->args, fnargs); in partial_setstate()
/external/python/cpython3/Modules/
D_functoolsmodule.c332 PyObject *fn, *fnargs, *kw, *dict; in partial_setstate() local
335 !PyArg_ParseTuple(state, "OOOO", &fn, &fnargs, &kw, &dict) || in partial_setstate()
337 !PyTuple_Check(fnargs) || in partial_setstate()
344 if(!PyTuple_CheckExact(fnargs)) in partial_setstate()
345 fnargs = PySequence_Tuple(fnargs); in partial_setstate()
347 Py_INCREF(fnargs); in partial_setstate()
348 if (fnargs == NULL) in partial_setstate()
358 Py_DECREF(fnargs); in partial_setstate()
370 Py_SETREF(pto->args, fnargs); in partial_setstate()