]> granicus.if.org Git - python/commitdiff
Minor fixups
authorRaymond Hettinger <python@rcn.com>
Tue, 16 Sep 2003 21:45:22 +0000 (21:45 +0000)
committerRaymond Hettinger <python@rcn.com>
Tue, 16 Sep 2003 21:45:22 +0000 (21:45 +0000)
Doc/lib/libbsddb.tex
Doc/lib/libdbhash.tex

index 719783b63c1bb894d492884feb49111e52546424..88398a9751752e199d11c80f4f30fed3c5e8433d 100644 (file)
@@ -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
index ecaa6c93abb60e31a179aee6a503d4a84cc88324..f5f98eae19c71924ee150e66441ccb727923e6e9 100644 (file)
@@ -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}