From: Fred Drake Date: Thu, 22 Apr 1999 14:06:36 +0000 (+0000) Subject: Add warning that last() and previous() don't work for hashtable X-Git-Tag: v1.6a1~1532 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=2ea30f4d8c8fdcc2b392db3249c94fe38fcd403c;p=thirdparty%2FPython%2Fcpython.git Add warning that last() and previous() don't work for hashtable databases (opened using hashopen()), as noted by Skip Montanaro on comp.lang.python. --- diff --git a/Doc/lib/libbsddb.tex b/Doc/lib/libbsddb.tex index 385f558728b1..1af4bdf4bad3 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}{}