]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Add warning that last() and previous() don't work for hashtable
authorFred Drake <fdrake@acm.org>
Thu, 22 Apr 1999 14:06:36 +0000 (14:06 +0000)
committerFred Drake <fdrake@acm.org>
Thu, 22 Apr 1999 14:06:36 +0000 (14:06 +0000)
databases (opened using hashopen()), as noted by Skip Montanaro on
comp.lang.python.

Doc/lib/libbsddb.tex

index 385f558728b1ded1b24e11df77c98feaa8f9ffdb..1af4bdf4bad3c47a703ad844e913208dcf81f3f2 100644 (file)
@@ -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}{}