From 2ea30f4d8c8fdcc2b392db3249c94fe38fcd403c Mon Sep 17 00:00:00 2001 From: Fred Drake Date: Thu, 22 Apr 1999 14:06:36 +0000 Subject: [PATCH] Add warning that last() and previous() don't work for hashtable databases (opened using hashopen()), as noted by Skip Montanaro on comp.lang.python. --- Doc/lib/libbsddb.tex | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/Doc/lib/libbsddb.tex b/Doc/lib/libbsddb.tex index 385f558728b..1af4bdf4bad 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}{}