Add warning that last() and previous() don't work for hashtable

databases (opened using hashopen()), as noted by Skip Montanaro on
comp.lang.python.
This commit is contained in:
Fred Drake 1999-04-22 14:06:36 +00:00
parent e62e76c383
commit 2ea30f4d8c
1 changed files with 6 additions and 4 deletions

View 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}{}