Searched refs:_localeconv (Results 1 – 3 of 3) sorted by relevance
102 _localeconv = localeconv variable108 @functools.wraps(_localeconv)110 d = _localeconv()
3748 def __format__(self, specifier, context=None, _localeconv=None): argument3766 spec = _parse_format_specifier(specifier, _localeconv=_localeconv)6173 def _parse_format_specifier(format_spec, _localeconv=None): argument6237 if _localeconv is None:6238 _localeconv = _locale.localeconv()6242 format_dict['thousands_sep'] = _localeconv['thousands_sep']6243 format_dict['grouping'] = _localeconv['grouping']6244 format_dict['decimal_point'] = _localeconv['decimal_point']
1114 return Decimal(x).__format__(fmt, _localeconv=override)