Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit e5836d9

Browse files
committed
Mark the 'whence' parameter of the file object's seek() method as optional;
it's already decribed that way in the description.
1 parent 0185283 commit e5836d9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Doc/lib/libtypes.tex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -763,7 +763,7 @@ \subsubsection{File Objects}
763763
internal buffer size) are read.
764764
\end{methoddesc}
765765

766-
\begin{methoddesc}[file]{seek}{offset, whence}
766+
\begin{methoddesc}[file]{seek}{offset\optional{, whence}}
767767
Set the file's current position, like \code{stdio}'s \cfunction{fseek()}.
768768
The \var{whence} argument is optional and defaults to \code{0}
769769
(absolute file positioning); other values are \code{1} (seek

0 commit comments

Comments
 (0)