Internal working of dictionary in python

How is hashing done internally in dictionary? Dictionary is the same as hashmap in C++ .