mirror of
https://github.com/AdaCore/cpython.git
synced 2026-02-12 12:57:15 -08:00
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:
@@ -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}{}
|
||||
|
||||
Reference in New Issue
Block a user