Navigation

Deprecated since version 2.6: The dbhash module has been deprecated for removal in Python 3.0.

The dbhash module provides a function to open databases using the BSD
db library. This module mirrors the interface of the other Python database
modules that provide access to DBM-style databases. The bsddb module is
required to use dbhash.

It’s possible to loop over every key/value pair in the database using this
method and the next() method. The traversal is ordered by the databases
internal hash values, and won’t be sorted by the key values. This method
returns the starting key.