Home
last modified time | relevance | path

Searched refs:fmt_spec (Results 1 – 3 of 3) sorted by relevance

/third_party/python/Lib/logging/
D__init__.py450fmt_spec = re.compile(r'^(.?[<>=^])?[+ -]?#?0?(\d+|{\w+})?[,_]?(\.(\d+|{\w+}))?[bcdefgnosx%]?$', r… variable in StrFormatStyle
471 if spec and not self.fmt_spec.match(spec):
/third_party/python/Python/
Dceval.c4344 PyObject *fmt_spec; in _PyEval_EvalFrameDefault() local
4350 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()
/third_party/python/Doc/library/
Ddis.rst1222 an optional *fmt_spec* from the stack, then a required *value*.
1232 * ``(flags & 0x04) == 0x04``: pop *fmt_spec* from the stack and use
1233 it, else use an empty *fmt_spec*.