MCPcopy Create free account
hub / github.com/RT-Thread/env-windows / localeconv

Function localeconv

tools/python-3.11.9-amd64/Lib/locale.py:63–85  ·  view source on GitHub ↗

localeconv() -> dict. Returns numeric and monetary locale-specific parameters.

()

Source from the content-addressed store, hash-verified

61 Error = ValueError
62
63 def localeconv():
64 """ localeconv() -> dict.
65 Returns numeric and monetary locale-specific parameters.
66 """
67 # 'C' locale default values
68 return {'grouping': [127],
69 'currency_symbol': '',
70 'n_sign_posn': 127,
71 'p_cs_precedes': 127,
72 'n_cs_precedes': 127,
73 'mon_grouping': [],
74 'n_sep_by_space': 127,
75 'decimal_point': '.',
76 'negative_sign': '',
77 'positive_sign': '',
78 'p_sep_by_space': 127,
79 'int_curr_symbol': '',
80 'p_sign_posn': 127,
81 'thousands_sep': '',
82 'mon_thousands_sep': '',
83 'frac_digits': 127,
84 'mon_decimal_point': '',
85 'int_frac_digits': 127}
86
87 def setlocale(category, value=None):
88 """ setlocale(integer,string=None) -> string.

Callers 4

_groupFunction · 0.85
_localizeFunction · 0.85
currencyFunction · 0.85
delocalizeFunction · 0.85

Calls 1

updateMethod · 0.45

Tested by

no test coverage detected