From e5836d981122fdda8c41282d0ba8e05b6c806809 Mon Sep 17 00:00:00 2001 From: Fred Drake Date: Thu, 25 Jun 1998 16:26:56 +0000 Subject: [PATCH] Mark the 'whence' parameter of the file object's seek() method as optional; it's already decribed that way in the description. --- Doc/lib/libtypes.tex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.40.0