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()
2167 PyObject *newdefault = NULL; in defdict_init() local2175 newdefault = PyTuple_GET_ITEM(args, 0); in defdict_init()2176 if (!PyCallable_Check(newdefault) && newdefault != Py_None) { in defdict_init()2186 Py_XINCREF(newdefault); in defdict_init()2187 dd->default_factory = newdefault; in defdict_init()