The e32dbm objects returned by the open function support
most of the standard dictionary methods. The supported dictionary methods
are:
__getitem__
__setitem__
__delitem__
has_key
update
__len__
__iter__
iterkeys
iteritems
itervalues
get
setdefault
pop
popitem
clear
These work the same way as the corresponding methods in a normal dictionary.
In addition, e32dbm objects have the following methods:
-
Closes the database. In fast mode, commits all pending updates to disk.
close raises an exception if called on a database that is not open.
-
Reorganizes the database. Reorganization calls compact on the
underlying e32db database file, which reclaims unused space in the
file. Reorganizing the database is recommended after several updates.
-
In fast mode, commits all pending updates to disk.
Release 2.0.0 final , documentation updated on 10 Feb 2010.
See About this document... for information on suggesting changes.