]> granicus.if.org Git - python/commitdiff
Mark the 'whence' parameter of the file object's seek() method as optional;
authorFred Drake <fdrake@acm.org>
Thu, 25 Jun 1998 16:26:56 +0000 (16:26 +0000)
committerFred Drake <fdrake@acm.org>
Thu, 25 Jun 1998 16:26:56 +0000 (16:26 +0000)
it's already decribed that way in the description.

Doc/lib/libtypes.tex

index 2dfe742932ac0efd75cab00efaa535d6eba2112d..c16c1fcf56c034666fd2959a87ac2b1522d8dbc7 100644 (file)
@@ -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