Minor fixups
This commit is contained in:
parent
ced69f8a20
commit
3404034a21
|
@ -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
|
||||
|
|
|
@ -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}
|
||||
|
|
Loading…
Reference in New Issue