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: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=e5836d981122fdda8c41282d0ba8e05b6c806809;p=thirdparty%2FPython%2Fcpython.git 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 2dfe742932ac..c16c1fcf56c0 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