diff options
author | Fred Drake <fdrake@acm.org> | 1998-06-25 16:26:56 (GMT) |
---|---|---|
committer | Fred Drake <fdrake@acm.org> | 1998-06-25 16:26:56 (GMT) |
commit | e5836d981122fdda8c41282d0ba8e05b6c806809 (patch) | |
tree | 060e980decf6962cc942320028928848ea1b1350 /Doc/lib | |
parent | 01852838f31b612cd1ad84b87076ff25b9ff9d00 (diff) | |
download | cpython-e5836d981122fdda8c41282d0ba8e05b6c806809.zip cpython-e5836d981122fdda8c41282d0ba8e05b6c806809.tar.gz cpython-e5836d981122fdda8c41282d0ba8e05b6c806809.tar.bz2 |
Mark the 'whence' parameter of the file object's seek() method as optional;
it's already decribed that way in the description.
Diffstat (limited to 'Doc/lib')
-rw-r--r-- | Doc/lib/libtypes.tex | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/lib/libtypes.tex b/Doc/lib/libtypes.tex index 2dfe742..c16c1fc 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 |