Lines Matching refs:default_factory
1959 PyObject *default_factory; member
1974 PyObject *factory = dd->default_factory; in defdict_missing()
1999 dd->default_factory ? dd->default_factory : Py_None, arg, NULL); in new_defdict()
2045 if (dd->default_factory == NULL || dd->default_factory == Py_None) in defdict_reduce()
2048 args = PyTuple_Pack(1, dd->default_factory); in defdict_reduce()
2086 offsetof(defdictobject, default_factory), 0,
2096 Py_CLEAR(dd->default_factory); in defdict_dealloc()
2109 if (dd->default_factory == NULL) in defdict_repr()
2113 int status = Py_ReprEnter(dd->default_factory); in defdict_repr()
2122 defrepr = PyObject_Repr(dd->default_factory); in defdict_repr()
2123 Py_ReprLeave(dd->default_factory); in defdict_repr()
2172 Py_VISIT(((defdictobject *)self)->default_factory); in defdict_traverse()
2179 Py_CLEAR(dd->default_factory); in defdict_tp_clear()
2187 PyObject *olddefault = dd->default_factory; in defdict_init()
2208 dd->default_factory = newdefault; in defdict_init()