From: Raymond Hettinger Date: Tue, 16 Sep 2003 21:45:22 +0000 (+0000) Subject: Minor fixups X-Git-Tag: v2.4a1~1567 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=3404034a21c05f811a93d3c77c672dee719acd6c;p=thirdparty%2FPython%2Fcpython.git Minor fixups --- diff --git a/Doc/lib/libbsddb.tex b/Doc/lib/libbsddb.tex index 719783b63c1b..88398a975175 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 ecaa6c93abb6..f5f98eae19c7 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}