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()
2103 PyObject *baserepr; in defdict_repr() local2106 baserepr = PyDict_Type.tp_repr((PyObject *)dd); in defdict_repr()2107 if (baserepr == NULL) in defdict_repr()2116 Py_DECREF(baserepr); in defdict_repr()2126 Py_DECREF(baserepr); in defdict_repr()2131 defrepr, baserepr); in defdict_repr()2133 Py_DECREF(baserepr); in defdict_repr()
5511 PyObject *baserepr; in datetime_repr() local5514 baserepr = PyUnicode_FromFormat( in datetime_repr()5523 baserepr = PyUnicode_FromFormat( in datetime_repr()5531 baserepr = PyUnicode_FromFormat( in datetime_repr()5537 if (baserepr != NULL && DATE_GET_FOLD(self) != 0) in datetime_repr()5538 baserepr = append_keyword_fold(baserepr, DATE_GET_FOLD(self)); in datetime_repr()5539 if (baserepr == NULL || ! HASTZINFO(self)) in datetime_repr()5540 return baserepr; in datetime_repr()5541 return append_keyword_tzinfo(baserepr, self->tzinfo); in datetime_repr()