Searched refs:newdefault (Results 1 – 2 of 2) sorted by relevance
1657 PyObject *newdefault = NULL; in defdict_init() local1665 newdefault = PyTuple_GET_ITEM(args, 0); in defdict_init()1666 if (!PyCallable_Check(newdefault) && newdefault != Py_None) { in defdict_init()1676 Py_XINCREF(newdefault); in defdict_init()1677 dd->default_factory = newdefault; in defdict_init()
2188 PyObject *newdefault = NULL; in defdict_init() local2196 newdefault = PyTuple_GET_ITEM(args, 0); in defdict_init()2197 if (!PyCallable_Check(newdefault) && newdefault != Py_None) { in defdict_init()2207 Py_XINCREF(newdefault); in defdict_init()2208 dd->default_factory = newdefault; in defdict_init()