Home
last modified time | relevance | path

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

/external/python/cpython3/Objects/
Dtypeobject.c4251 PyObject *getnewargs, *getnewargs_ex; in _PyObject_GetNewArguments() local
4315 getnewargs = _PyObject_LookupSpecial(obj, &PyId___getnewargs__); in _PyObject_GetNewArguments()
4316 if (getnewargs != NULL) { in _PyObject_GetNewArguments()
4317 *args = _PyObject_CallNoArg(getnewargs); in _PyObject_GetNewArguments()
4318 Py_DECREF(getnewargs); in _PyObject_GetNewArguments()
/external/python/cpython2/Objects/
Dtypeobject.c3313 PyObject *cls, *getnewargs; in reduce_2() local
3332 getnewargs = PyObject_GetAttrString(obj, "__getnewargs__"); in reduce_2()
3333 if (getnewargs != NULL) { in reduce_2()
3334 args = PyObject_CallObject(getnewargs, NULL); in reduce_2()
3335 Py_DECREF(getnewargs); in reduce_2()