I want to check the source code of list.index()
function to calculate the time complexity. I know that Some inner functions in python are written in C/C++
.
Where can I find the source code like this?
Asked
Active
Viewed 11 times
0

Chris Hemsworth
- 1
- 1
-
1this ? [Finding the source code for built-in Python functions?](https://stackoverflow.com/questions/8608587/finding-the-source-code-for-built-in-python-functions) – Bernardo stearns reisen Apr 15 '20 at 13:19
-
https://github.com/python/cpython/blob/master/Objects/listobject.c#L2509 – rassar Apr 15 '20 at 13:23