Searched refs:baserepr (Results 1 – 4 of 4) sorted by relevance
1605 PyObject *baserepr; in defdict_repr() local1607 baserepr = PyDict_Type.tp_repr((PyObject *)dd); in defdict_repr()1608 if (baserepr == NULL) in defdict_repr()1617 Py_DECREF(baserepr); in defdict_repr()1627 Py_DECREF(baserepr); in defdict_repr()1632 PyString_AS_STRING(baserepr)); in defdict_repr()1634 Py_DECREF(baserepr); in defdict_repr()
4189 PyObject *baserepr; in datetime_repr() local4215 baserepr = PyString_FromString(buffer); in datetime_repr()4216 if (baserepr == NULL || ! HASTZINFO(self)) in datetime_repr()4217 return baserepr; in datetime_repr()4218 return append_keyword_tzinfo(baserepr, self->tzinfo); in datetime_repr()
2114 PyObject *baserepr; in defdict_repr() local2117 baserepr = PyDict_Type.tp_repr((PyObject *)dd); in defdict_repr()2118 if (baserepr == NULL) in defdict_repr()2127 Py_DECREF(baserepr); in defdict_repr()2137 Py_DECREF(baserepr); in defdict_repr()2142 defrepr, baserepr); in defdict_repr()2144 Py_DECREF(baserepr); in defdict_repr()
5272 PyObject *baserepr; in datetime_repr() local5275 baserepr = PyUnicode_FromFormat( in datetime_repr()5284 baserepr = PyUnicode_FromFormat( in datetime_repr()5292 baserepr = PyUnicode_FromFormat( in datetime_repr()5298 if (baserepr != NULL && DATE_GET_FOLD(self) != 0) in datetime_repr()5299 baserepr = append_keyword_fold(baserepr, DATE_GET_FOLD(self)); in datetime_repr()5300 if (baserepr == NULL || ! HASTZINFO(self)) in datetime_repr()5301 return baserepr; in datetime_repr()5302 return append_keyword_tzinfo(baserepr, self->tzinfo); in datetime_repr()