db.close()
+In addition to the dictionary-like methods, ``anydbm`` objects
+provide the following method:
+
+.. function:: close()
+
+ Close the ``anydbm`` database.
+
+
.. seealso::
Module :mod:`dbhash`
database has to be created. It defaults to octal ``0666`` (and will be
modified by the prevailing umask).
+ In addition to the dictionary-like methods, ``dbm`` objects
+ provide the following method:
+
+
+ .. function:: close()
+
+ Close the ``dbm`` database.
+
.. seealso::
.. versionchanged:: 2.2
The *mode* argument was ignored in earlier versions.
+In addition to the dictionary-like methods, ``dumbdm`` objects
+provide the following method:
+
+
+.. function:: close()
+
+ Close the ``dumbdm`` database.
+
.. seealso::
unwritten data to be written to the disk.
+.. function:: close()
+
+ Close the ``gdbm`` database.
+
+
.. seealso::
Module :mod:`anydbm`