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.h497 PyObject *format_spec_object = NULL; in render_field() local
523 format_spec_object = PyUnicode_Substring(format_spec->str, in render_field()
527 format_spec_object = PyUnicode_New(0, 0); in render_field()
528 if (format_spec_object == NULL) in render_field()
531 result = PyObject_Format(fieldobj, format_spec_object); in render_field()
541 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()