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

Function _test

Lib/locale.py:334–341  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

332 return int(delocalize(string))
333
334def _test():
335 setlocale(LC_ALL, "")
336 #do grouping
337 s1 = format_string("%d", 123456789,1)
338 print(s1, "is", atoi(s1))
339 #standard formatting
340 s1 = str(3.14)
341 print(s1, "is", atof(s1))
342
343### Locale name aliasing engine
344

Callers 1

locale.pyFile · 0.70

Calls 5

setlocaleFunction · 0.85
format_stringFunction · 0.85
atoiFunction · 0.85
strFunction · 0.85
atofFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…