Home | History | Annotate | Download | only in python2.7

Lines Matching full:specifier

3644     def __format__(self, specifier, context=None, _localeconv=None):
3645 """Format a Decimal instance according to the given specifier.
3647 The specifier should be a standard format specifier, with the
3662 spec = _parse_format_specifier(specifier, _localeconv=_localeconv)
5928 # A format specifier for Decimal looks like:
5948 # The locale module is only needed for the 'n' format specifier. The
5957 """Parse and validate a format specifier.
5959 Turns a standard numeric format specifier into a dict, with the
5978 raise ValueError("Invalid format specifier: " + format_spec)
5991 " in format specifier: " + format_spec)
5994 "format specifier: " + format_spec)
6025 "'n' type in format specifier: " + format_spec)
6043 format specifier dictionary 'spec' (as produced by
6101 specifier using _parse_format_specifier.
6150 spec: dictionary resulting from parsing the format specifier