Lines Matching refs:default_factory
1451 PyObject *default_factory; member
1466 PyObject *factory = dd->default_factory; in defdict_missing()
1497 if (dd->default_factory == NULL) in defdict_copy()
1500 dd->default_factory, dd, NULL); in defdict_copy()
1531 if (dd->default_factory == NULL || dd->default_factory == Py_None) in defdict_reduce()
1534 args = PyTuple_Pack(1, dd->default_factory); in defdict_reduce()
1563 offsetof(defdictobject, default_factory), 0,
1573 Py_CLEAR(dd->default_factory); in defdict_dealloc()
1584 if (dd->default_factory == NULL) { in defdict_print()
1589 PyObject_Print(dd->default_factory, fp, 0); in defdict_print()
1610 if (dd->default_factory == NULL) in defdict_repr()
1614 int status = Py_ReprEnter(dd->default_factory); in defdict_repr()
1623 defrepr = PyObject_Repr(dd->default_factory); in defdict_repr()
1624 Py_ReprLeave(dd->default_factory); in defdict_repr()
1641 Py_VISIT(((defdictobject *)self)->default_factory); in defdict_traverse()
1648 Py_CLEAR(dd->default_factory); in defdict_tp_clear()
1656 PyObject *olddefault = dd->default_factory; in defdict_init()
1677 dd->default_factory = newdefault; in defdict_init()