Searched refs:defrepr (Results 1 – 2 of 2) sorted by relevance
1604 PyObject *defrepr; in defdict_repr() local1611 defrepr = PyString_FromString("None"); in defdict_repr()1620 defrepr = PyString_FromString("..."); in defdict_repr()1623 defrepr = PyObject_Repr(dd->default_factory); in defdict_repr()1626 if (defrepr == NULL) { in defdict_repr()1631 PyString_AS_STRING(defrepr), in defdict_repr()1633 Py_DECREF(defrepr); in defdict_repr()
2115 PyObject *defrepr; in defdict_repr() local2121 defrepr = PyUnicode_FromString("None"); in defdict_repr()2130 defrepr = PyUnicode_FromString("..."); in defdict_repr()2133 defrepr = PyObject_Repr(dd->default_factory); in defdict_repr()2136 if (defrepr == NULL) { in defdict_repr()2142 defrepr, baserepr); in defdict_repr()2143 Py_DECREF(defrepr); in defdict_repr()