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()
2104 PyObject *defrepr; in defdict_repr() local2110 defrepr = PyUnicode_FromString("None"); in defdict_repr()2119 defrepr = PyUnicode_FromString("..."); in defdict_repr()2122 defrepr = PyObject_Repr(dd->default_factory); in defdict_repr()2125 if (defrepr == NULL) { in defdict_repr()2131 defrepr, baserepr); in defdict_repr()2132 Py_DECREF(defrepr); in defdict_repr()