Home
last modified time | relevance | path

Searched refs:str_spec (Results 1 – 4 of 4) sorted by relevance

/external/python/cpython2/Objects/
Dcomplexobject.c920 PyObject *str_spec = PyObject_Str(format_spec); in complex__format__() local
922 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__()
Dintobject.c1266 PyObject *str_spec = PyObject_Str(format_spec); in int__format__() local
1268 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__()
Dfloatobject.c2006 PyObject *str_spec = PyObject_Str(format_spec); in float__format__() local
2008 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__()
Dlongobject.c4124 PyObject *str_spec = PyObject_Str(format_spec); in long__format__() local
4126 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__()