Is it possible to view the source code of Python's functions like sum
, zip
and the like? I just want to know about the implementation.
Thanks.
You can download it here:
http://www.python.org/getit/source/
Source for builtins functions (like sum
, zip
, etc) are in http://hg.python.org/cpython/file/57c157be847f/Python/bltinmodule.c.
You cant see the code for the sum and zip because those are wrapper of c functions. But other module you can check on http://hg.python.org/cpython/file/2.7/Lib
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With