Commit f15969d8 authored by Fred Drake's avatar Fred Drake

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

databases (opened using hashopen()), as noted by Skip Montanaro on
comp.lang.python.
parent d65b634d
......@@ -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}{}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment