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.c1269 PyObject *str_spec = PyObject_Str(format_spec); in int__format__() local
1271 if (str_spec == NULL) in int__format__()
1275 PyBytes_AS_STRING(str_spec), in int__format__()
1276 PyBytes_GET_SIZE(str_spec)); in int__format__()
1278 Py_DECREF(str_spec); in int__format__()
Dfloatobject.c2005 PyObject *str_spec = PyObject_Str(format_spec); in float__format__() local
2007 if (str_spec == NULL) in float__format__()
2011 PyBytes_AS_STRING(str_spec), in float__format__()
2012 PyBytes_GET_SIZE(str_spec)); in float__format__()
2014 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__()