summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Doc/lib/libbsddb.tex3
-rw-r--r--Doc/lib/libdbhash.tex2
2 files changed, 3 insertions, 2 deletions
diff --git a/Doc/lib/libbsddb.tex b/Doc/lib/libbsddb.tex
index 719783b..88398a9 100644
--- a/Doc/lib/libbsddb.tex
+++ b/Doc/lib/libbsddb.tex
@@ -102,7 +102,8 @@ systems which ship with the old Berkeley DB 1.85 database library. The
Once instantiated, hash, btree and record objects support
the same methods as dictionaries. In addition, they support
-the following methods:
+the methods listed below.
+\versionchanged[Added dictionary methods]{2.3.1}
\begin{methoddesc}{close}{}
Close the underlying file. The object can no longer be accessed. Since
diff --git a/Doc/lib/libdbhash.tex b/Doc/lib/libdbhash.tex
index ecaa6c9..f5f98ea 100644
--- a/Doc/lib/libdbhash.tex
+++ b/Doc/lib/libdbhash.tex
@@ -73,7 +73,7 @@ methods are available in addition to the standard methods.
\begin{verbatim}
print db.first()
-for i in xrange(1, len(d)):
+for i in xrange(1, len(db)):
print db.next()
\end{verbatim}
\end{methoddesc}