-3

I've been working with Python for a while, but now I got curious if there is a way to see the code inside the built-in functions or methods of Python. I know that is not really necessary to know this, but some time I'm a curious person.

Thanks for your help.

AskMeee12
  • 1
  • 1

2 Answers2

0

Python is a open-source language. You can find the whole source code from github.

Jimpsoni
  • 233
  • 2
  • 13
0

All of the cPython source code is publicly available here. There is a book on the way it all works by Anthony Shaw. Details here

Holloway
  • 6,412
  • 1
  • 26
  • 33