diff options
author | Fred Drake <fdrake@acm.org> | 1999-04-22 14:06:36 (GMT) |
---|---|---|
committer | Fred Drake <fdrake@acm.org> | 1999-04-22 14:06:36 (GMT) |
commit | 2ea30f4d8c8fdcc2b392db3249c94fe38fcd403c (patch) | |
tree | 513c47f07c2d24f41a56c19c7caee816af67c903 /Doc/lib/libbsddb.tex | |
parent | e62e76c38322ebb88bcf54a933a07291d9e7c5ba (diff) | |
download | cpython-2ea30f4d8c8fdcc2b392db3249c94fe38fcd403c.zip cpython-2ea30f4d8c8fdcc2b392db3249c94fe38fcd403c.tar.gz cpython-2ea30f4d8c8fdcc2b392db3249c94fe38fcd403c.tar.bz2 |
Add warning that last() and previous() don't work for hashtable
databases (opened using hashopen()), as noted by Skip Montanaro on
comp.lang.python.
Diffstat (limited to 'Doc/lib/libbsddb.tex')
-rw-r--r-- | Doc/lib/libbsddb.tex | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/Doc/lib/libbsddb.tex b/Doc/lib/libbsddb.tex index 385f558..1af4bdf 100644 --- a/Doc/lib/libbsddb.tex +++ b/Doc/lib/libbsddb.tex @@ -104,13 +104,15 @@ keys in the file is unspecified. \end{methoddesc} \begin{methoddesc}{previous}{} -Set the cursor to the first item in the DB file and return it. The order of -keys in the file is unspecified. +Set the cursor to the first item in the DB file and return it. The +order of keys in the file is unspecified. This is not supported on +hashtable databases (those opened with \function{hashopen()}). \end{methoddesc} \begin{methoddesc}{last}{} -Set the cursor to the last item in the DB file and return it. The order of -keys in the file is unspecified. +Set the cursor to the last item in the DB file and return it. The +order of keys in the file is unspecified. This is not supported on +hashtable databases (those opened with \function{hashopen()}). \end{methoddesc} \begin{methoddesc}{sync}{} |