MCPcopy Create free account
hub / github.com/eshirazi/python-with-braces / normalize

Function normalize

Lib/locale.py:347–413  ·  view source on GitHub ↗

Returns a normalized locale code for the given locale name. The returned locale code is formatted for use with setlocale(). If normalization fails, the original name is returned unchanged. If the given encoding is not known, the function defaults t

(localename)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 3

_expand_langFunction · 0.90
_parse_localenameFunction · 0.70
setlocaleFunction · 0.70

Calls 5

translateMethod · 0.80
splitMethod · 0.80
encodeMethod · 0.45
replaceMethod · 0.45
getMethod · 0.45

Tested by

no test coverage detected