The best place to look is CPython implementation source code :
dict - Fast key resolution hash maplist - looks like an array of PyObject stuple - Same as a list, but with optimization that the tuple can resolve (fixed size, objects)set - Hash map with optimization for cache localization
The source code is heavily commented and well written by C This would be the best place to understand the data structures used in detail.
source share