Where is the source code for the python 'dict' type?
I want to view the source code of the python dict
type but i can't find it.
I'm look开发者_如何学JAVAing for python 2.6.
Now that Python migrated to Github, here is the updated link:
cpython/Objects/dictobject.c
.
Here's a more recent link with source highlighting: http://hg.python.org/cpython/file/tip/Objects/dictobject.c
Look at Objects/dictobject.c
in the Python source code.
Here is latest python2.6.6 dictobject source code from python svn
http://svn.python.org/view/checkout/python/tags/r266/Objects/dictobject.c?revision=84293&content-type=text/plain
精彩评论