Title says it all. Does python 3 contain any built-in way to print the source code for its built in functions? The inspect
module doesn't seem to work for these.
Asked
Active
Viewed 19 times
0

Austin
- 6,921
- 12
- 73
- 138
-
See https://stackoverflow.com/q/8608587/825190 – Alessandro Cosentino Aug 18 '18 at 21:45
-
Okay so to confirm, it looks like the answer is: No? – Austin Aug 18 '18 at 21:47
-
1Indeed the short answer is No. And notice that source code of built-in function in CPython is in C. – Alessandro Cosentino Aug 18 '18 at 21:57