Home
last modified time | relevance | path

Searched refs:fmt_spec (Results 1 - 2 of 2) sorted by relevance

/third_party/python/Lib/logging/
H A D__init__.py459 fmt_spec = re.compile(r'^(.?[<>=^])?[+ -]?#?0?(\d+|{\w+})?[,_]?(\.(\d+|{\w+}))?[bcdefgnosx%]?$', re.I) variable in StrFormatStyle
480 if spec and not self.fmt_spec.match(spec):
/third_party/python/Python/
H A Dceval.c5481 PyObject *fmt_spec; local
5487 fmt_spec = have_fmt_spec ? POP() : NULL;
5510 Py_XDECREF(fmt_spec);
5516 /* If value is a unicode object, and there's no fmt_spec,
5521 if (PyUnicode_CheckExact(value) && fmt_spec == NULL) {
5526 result = PyObject_Format(value, fmt_spec);
5528 Py_XDECREF(fmt_spec);

Completed in 13 milliseconds