Home
last modified time | relevance | path

Searched refs:_localeconv (Results 1 – 6 of 6) sorted by relevance

/external/python/cpython2/Lib/
Dlocale.py106 _localeconv = localeconv variable
112 @functools.wraps(_localeconv)
114 d = _localeconv()
Ddecimal.py3642 def __format__(self, specifier, context=None, _localeconv=None): argument
3660 spec = _parse_format_specifier(specifier, _localeconv=_localeconv)
5976 def _parse_format_specifier(format_spec, _localeconv=None): argument
6041 if _localeconv is None:
6042 _localeconv = _locale.localeconv()
6046 format_dict['thousands_sep'] = _localeconv['thousands_sep']
6047 format_dict['grouping'] = _localeconv['grouping']
6048 format_dict['decimal_point'] = _localeconv['decimal_point']
/external/python/cpython3/Lib/
Dlocale.py102 _localeconv = localeconv variable
108 @functools.wraps(_localeconv)
110 d = _localeconv()
D_pydecimal.py3748 def __format__(self, specifier, context=None, _localeconv=None): argument
3766 spec = _parse_format_specifier(specifier, _localeconv=_localeconv)
6173 def _parse_format_specifier(format_spec, _localeconv=None): argument
6237 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']
/external/python/cpython2/Lib/test/
Dtest_decimal.py870 return Decimal.__format__(Decimal(x), fmt, _localeconv=locale)
/external/python/cpython3/Lib/test/
Dtest_decimal.py1093 return Decimal(x).__format__(fmt, _localeconv=override)