summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2003-09-16 21:45:22 (GMT)
committerRaymond Hettinger <python@rcn.com>2003-09-16 21:45:22 (GMT)
commit3404034a21c05f811a93d3c77c672dee719acd6c (patch)
tree6c4816f1ab70b8b1565e136970f5fa2ea4a5dfc0 /Doc
parentced69f8a20360612c295e3e34c642fcff939b19b (diff)
downloadcpython-3404034a21c05f811a93d3c77c672dee719acd6c.zip
cpython-3404034a21c05f811a93d3c77c672dee719acd6c.tar.gz
cpython-3404034a21c05f811a93d3c77c672dee719acd6c.tar.bz2
Minor fixups
Diffstat (limited to 'Doc')
-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}