Searched refs:fmt_spec (Results 1 – 3 of 3) sorted by relevance
450 …fmt_spec = re.compile(r'^(.?[<>=^])?[+ -]?#?0?(\d+|{\w+})?[,_]?(\.(\d+|{\w+}))?[bcdefgnosx%]?$', r… variable in StrFormatStyle471 if spec and not self.fmt_spec.match(spec):
4344 PyObject *fmt_spec; in _PyEval_EvalFrameDefault() local4350 fmt_spec = have_fmt_spec ? POP() : NULL; in _PyEval_EvalFrameDefault()4373 Py_XDECREF(fmt_spec); in _PyEval_EvalFrameDefault()4384 if (PyUnicode_CheckExact(value) && fmt_spec == NULL) { in _PyEval_EvalFrameDefault()4389 result = PyObject_Format(value, fmt_spec); in _PyEval_EvalFrameDefault()4391 Py_XDECREF(fmt_spec); in _PyEval_EvalFrameDefault()
1222 an optional *fmt_spec* from the stack, then a required *value*.1232 * ``(flags & 0x04) == 0x04``: pop *fmt_spec* from the stack and use1233 it, else use an empty *fmt_spec*.