Home
last modified time | relevance | path

Searched refs:format_spec_object (Results 1 – 2 of 2) sorted by relevance

/external/python/cpython3/Objects/stringlib/
Dunicode_format.h502 PyObject *format_spec_object = NULL; in render_field() local
528 format_spec_object = PyUnicode_Substring(format_spec->str, in render_field()
532 format_spec_object = PyUnicode_New(0, 0); in render_field()
533 if (format_spec_object == NULL) in render_field()
536 result = PyObject_Format(fieldobj, format_spec_object); in render_field()
546 Py_XDECREF(format_spec_object); in render_field()
/external/python/cpython2/Objects/stringlib/
Dstring_format.h564 PyObject *format_spec_object = NULL; in render_field() local
600 format_spec_object = STRINGLIB_NEW(format_spec_start, in render_field()
602 if (format_spec_object == NULL) in render_field()
605 result = PyObject_Format(fieldobj, format_spec_object); in render_field()
629 Py_XDECREF(format_spec_object); in render_field()