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

Function localize

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

Parses a string as locale number according to the locale settings.

(string, grouping=False, monetary=False)

Source from the content-addressed store, hash-verified

330 return string
331
332def localize(string, grouping=False, monetary=False):
333 """Parses a string as locale number according to the locale settings."""
334 return _localize(string, grouping, monetary)
335
336def atof(string, func=float):
337 "Parses a string as a float according to the locale settings."

Callers

nothing calls this directly

Calls 1

_localizeFunction · 0.85

Tested by

no test coverage detected