Commit e5836d98 authored by Fred Drake's avatar Fred Drake

Mark the 'whence' parameter of the file object's seek() method as optional;

it's already decribed that way in the description.
parent 01852838
......@@ -763,7 +763,7 @@ descriptors, e.g. module \code{fcntl} or \code{os.read()} and friends.
internal buffer size) are read.
\end{methoddesc}
\begin{methoddesc}[file]{seek}{offset, whence}
\begin{methoddesc}[file]{seek}{offset\optional{, whence}}
Set the file's current position, like \code{stdio}'s \cfunction{fseek()}.
The \var{whence} argument is optional and defaults to \code{0}
(absolute file positioning); other values are \code{1} (seek
......
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