Searched refs:str_spec (Results 1 – 4 of 4) sorted by relevance
920 PyObject *str_spec = PyObject_Str(format_spec); in complex__format__() local922 if (str_spec == NULL) in complex__format__()926 PyBytes_AS_STRING(str_spec), in complex__format__()927 PyBytes_GET_SIZE(str_spec)); in complex__format__()929 Py_DECREF(str_spec); in complex__format__()
1266 PyObject *str_spec = PyObject_Str(format_spec); in int__format__() local1268 if (str_spec == NULL) in int__format__()1272 PyBytes_AS_STRING(str_spec), in int__format__()1273 PyBytes_GET_SIZE(str_spec)); in int__format__()1275 Py_DECREF(str_spec); in int__format__()
2006 PyObject *str_spec = PyObject_Str(format_spec); in float__format__() local2008 if (str_spec == NULL) in float__format__()2012 PyBytes_AS_STRING(str_spec), in float__format__()2013 PyBytes_GET_SIZE(str_spec)); in float__format__()2015 Py_DECREF(str_spec); in float__format__()
4124 PyObject *str_spec = PyObject_Str(format_spec); in long__format__() local4126 if (str_spec == NULL) in long__format__()4130 PyBytes_AS_STRING(str_spec), in long__format__()4131 PyBytes_GET_SIZE(str_spec)); in long__format__()4133 Py_DECREF(str_spec); in long__format__()