MCPcopy Index your code
hub / github.com/python/cpython / localize

Function localize

Lib/locale.py:322–324  ·  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

320 return string
321
322def localize(string, grouping=False, monetary=False):
323 """Parses a string as locale number according to the locale settings."""
324 return _localize(string, grouping, monetary)
325
326def atof(string, func=float):
327 "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

Used in the wild real call sites across dependent graphs

searching dependent graphs…