mirror of https://github.com/python/cpython
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:
parent
e62e76c383
commit
2ea30f4d8c
|
@ -104,13 +104,15 @@ keys in the file is unspecified.
|
||||||
\end{methoddesc}
|
\end{methoddesc}
|
||||||
|
|
||||||
\begin{methoddesc}{previous}{}
|
\begin{methoddesc}{previous}{}
|
||||||
Set the cursor to the first item in the DB file and return it. The order of
|
Set the cursor to the first item in the DB file and return it. The
|
||||||
keys in the file is unspecified.
|
order of keys in the file is unspecified. This is not supported on
|
||||||
|
hashtable databases (those opened with \function{hashopen()}).
|
||||||
\end{methoddesc}
|
\end{methoddesc}
|
||||||
|
|
||||||
\begin{methoddesc}{last}{}
|
\begin{methoddesc}{last}{}
|
||||||
Set the cursor to the last item in the DB file and return it. The order of
|
Set the cursor to the last item in the DB file and return it. The
|
||||||
keys in the file is unspecified.
|
order of keys in the file is unspecified. This is not supported on
|
||||||
|
hashtable databases (those opened with \function{hashopen()}).
|
||||||
\end{methoddesc}
|
\end{methoddesc}
|
||||||
|
|
||||||
\begin{methoddesc}{sync}{}
|
\begin{methoddesc}{sync}{}
|
||||||
|
|
Loading…
Reference in New Issue