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

Function atoi

Lib/locale.py:330–332  ·  view source on GitHub ↗

Converts a string to an integer according to the locale settings.

(string)

Source from the content-addressed store, hash-verified

328 return func(delocalize(string))
329
330def atoi(string):
331 "Converts a string to an integer according to the locale settings."
332 return int(delocalize(string))
333
334def _test():
335 setlocale(LC_ALL, "")

Callers 1

_testFunction · 0.85

Calls 1

delocalizeFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…