Closes #20872: dbm/gdbm/ndbm close methods are not documented
diff --git a/Doc/library/anydbm.rst b/Doc/library/anydbm.rst
index 86d8a59..38e01f3 100644
--- a/Doc/library/anydbm.rst
+++ b/Doc/library/anydbm.rst
@@ -92,6 +92,14 @@
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`
diff --git a/Doc/library/dbm.rst b/Doc/library/dbm.rst
index 6f9781e..a03c7c5 100644
--- a/Doc/library/dbm.rst
+++ b/Doc/library/dbm.rst
@@ -64,6 +64,14 @@
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::
diff --git a/Doc/library/dumbdbm.rst b/Doc/library/dumbdbm.rst
index 965710a..1a9a647 100644
--- a/Doc/library/dumbdbm.rst
+++ b/Doc/library/dumbdbm.rst
@@ -49,6 +49,14 @@
.. 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::
diff --git a/Doc/library/gdbm.rst b/Doc/library/gdbm.rst
index 742c035..f36bb28 100644
--- a/Doc/library/gdbm.rst
+++ b/Doc/library/gdbm.rst
@@ -116,6 +116,11 @@
unwritten data to be written to the disk.
+.. function:: close()
+
+ Close the ``gdbm`` database.
+
+
.. seealso::
Module :mod:`anydbm`