Lines Matching refs:default_factory
1975 PyObject *default_factory; member
1990 PyObject *factory = dd->default_factory; in defdict_missing()
2021 if (dd->default_factory == NULL) in defdict_copy()
2024 dd->default_factory, dd, NULL); in defdict_copy()
2058 if (dd->default_factory == NULL || dd->default_factory == Py_None) in defdict_reduce()
2061 args = PyTuple_Pack(1, dd->default_factory); in defdict_reduce()
2097 offsetof(defdictobject, default_factory), 0,
2107 Py_CLEAR(dd->default_factory); in defdict_dealloc()
2120 if (dd->default_factory == NULL) in defdict_repr()
2124 int status = Py_ReprEnter(dd->default_factory); in defdict_repr()
2133 defrepr = PyObject_Repr(dd->default_factory); in defdict_repr()
2134 Py_ReprLeave(dd->default_factory); in defdict_repr()
2151 Py_VISIT(((defdictobject *)self)->default_factory); in defdict_traverse()
2158 Py_CLEAR(dd->default_factory); in defdict_tp_clear()
2166 PyObject *olddefault = dd->default_factory; in defdict_init()
2187 dd->default_factory = newdefault; in defdict_init()