File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -304,7 +304,7 @@ I/O Base Classes
304
304
Note that it's already possible to iterate on file objects using ``for
305
305
line in file: ... `` without calling ``file.readlines() ``.
306
306
307
- .. method :: seek(offset[ , whence] )
307
+ .. method :: seek(offset, whence=SEEK_SET )
308
308
309
309
Change the stream position to the given byte *offset *. *offset * is
310
310
interpreted relative to the position indicated by *whence *. The default
@@ -736,7 +736,7 @@ Text I/O
736
736
737
737
If *limit * is specified, at most *limit * characters will be read.
738
738
739
- .. method :: seek(offset[ , whence] )
739
+ .. method :: seek(offset, whence=SEEK_SET )
740
740
741
741
Change the stream position to the given *offset *. Behaviour depends on
742
742
the *whence * parameter. The default value for *whence * is
You can’t perform that action at this time.
0 commit comments