From: Fred Drake Date: Thu, 25 Jun 1998 16:26:56 +0000 (+0000) Subject: Mark the 'whence' parameter of the file object's seek() method as optional; X-Git-Tag: v1.5.2a1~424 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e5836d981122fdda8c41282d0ba8e05b6c806809;p=python Mark the 'whence' parameter of the file object's seek() method as optional; it's already decribed that way in the description. --- diff --git a/Doc/lib/libtypes.tex b/Doc/lib/libtypes.tex index 2dfe742932..c16c1fcf56 100644 --- a/Doc/lib/libtypes.tex +++ b/Doc/lib/libtypes.tex @@ -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