Commit 6d52ced4 authored by Jesus Cea's avatar Jesus Cea

Closes #20872: dbm/gdbm/ndbm close methods are not documented

parent 7de99717
...@@ -92,6 +92,14 @@ then prints out the contents of the database:: ...@@ -92,6 +92,14 @@ then prints out the contents of the database::
db.close() db.close()
In addition to the dictionary-like methods, ``anydbm`` objects
provide the following method:
.. function:: close()
Close the ``anydbm`` database.
.. seealso:: .. seealso::
Module :mod:`dbhash` Module :mod:`dbhash`
......
...@@ -64,6 +64,14 @@ The module defines the following: ...@@ -64,6 +64,14 @@ The module defines the following:
database has to be created. It defaults to octal ``0666`` (and will be database has to be created. It defaults to octal ``0666`` (and will be
modified by the prevailing umask). 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:: .. seealso::
......
...@@ -49,6 +49,14 @@ The module defines the following: ...@@ -49,6 +49,14 @@ The module defines the following:
.. versionchanged:: 2.2 .. versionchanged:: 2.2
The *mode* argument was ignored in earlier versions. 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:: .. seealso::
......
...@@ -116,6 +116,11 @@ methods: ...@@ -116,6 +116,11 @@ methods:
unwritten data to be written to the disk. unwritten data to be written to the disk.
.. function:: close()
Close the ``gdbm`` database.
.. seealso:: .. seealso::
Module :mod:`anydbm` Module :mod:`anydbm`
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment