Minor fixups
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 @@
 
 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 @@
 
 \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}