Searched refs:_localeconv (Results 1 – 6 of 6) sorted by relevance
/external/python/cpython2/Lib/ |
D | locale.py | 106 _localeconv = localeconv variable 112 @functools.wraps(_localeconv) 114 d = _localeconv()
|
D | decimal.py | 3642 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/ |
D | locale.py | 102 _localeconv = localeconv variable 108 @functools.wraps(_localeconv) 110 d = _localeconv()
|
D | _pydecimal.py | 3748 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/ |
D | test_decimal.py | 870 return Decimal.__format__(Decimal(x), fmt, _localeconv=locale)
|
/external/python/cpython3/Lib/test/ |
D | test_decimal.py | 1093 return Decimal(x).__format__(fmt, _localeconv=override)
|