]> granicus.if.org Git - python/commitdiff
Closes #20872: dbm/gdbm/ndbm close methods are not documented
authorJesus Cea <jcea@jcea.es>
Wed, 25 Jun 2014 10:55:48 +0000 (12:55 +0200)
committerJesus Cea <jcea@jcea.es>
Wed, 25 Jun 2014 10:55:48 +0000 (12:55 +0200)
Doc/library/anydbm.rst
Doc/library/dbm.rst
Doc/library/dumbdbm.rst
Doc/library/gdbm.rst

index 86d8a59b859273c6444ab3e92e537ab8e82d857c..38e01f31a692ac58f511e043c3510f65fc1e7558 100644 (file)
@@ -92,6 +92,14 @@ then prints out the contents of the database::
    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`
index 6f9781e4d49986b7d6b1d73249dad0d5c14928ae..a03c7c51ce4e02b05c3d33502edef1731a4290d2 100644 (file)
@@ -64,6 +64,14 @@ The module defines the following:
    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::
 
index 965710ab10b8e79c94162895e2246dbfe3f67e7b..1a9a647e02c2e15982c7c5d07b0e5e9cd0463b82 100644 (file)
@@ -49,6 +49,14 @@ The module defines the following:
    .. 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::
 
index 742c03595d13f56889e89bb2832ed655c7900c65..f36bb28dc0f9911f768c4906f318ed6b808a72c9 100644 (file)
@@ -116,6 +116,11 @@ methods:
    unwritten data to be written to the disk.
 
 
+.. function:: close()
+
+   Close the ``gdbm`` database.
+
+
 .. seealso::
 
    Module :mod:`anydbm`