The code I tried to understand is:
foo = int("123", 8)
print(foo)
I want to view the source code of builtin functions in python to see how int() is implemented. As I have tried, sorted()
is located here. Its function name is builtin_sorted
, but nothing returns when I search builtin_int
in the GitHub page.
Hope someone could help me understand its source code. Thanks in advance!