summaryrefslogtreecommitdiffstats
path: root/Doc/library/dbm.rst
diff options
context:
space:
mode:
Diffstat (limited to 'Doc/library/dbm.rst')
-rw-r--r--Doc/library/dbm.rst7
1 files changed, 7 insertions, 0 deletions
diff --git a/Doc/library/dbm.rst b/Doc/library/dbm.rst
index 2be4993..d226fa9 100644
--- a/Doc/library/dbm.rst
+++ b/Doc/library/dbm.rst
@@ -245,6 +245,13 @@ supported.
Close the ``gdbm`` database.
+ .. method:: gdbm.clear()
+
+ Remove all items from the ``gdbm`` database.
+
+ .. versionadded:: 3.13
+
+
:mod:`dbm.ndbm` --- Interface based on ndbm
-------------------------------------------