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 @@ -306,7 +306,7 @@ I/O Base Classes
306
306
Note that it's already possible to iterate on file objects using ``for
307
307
line in file: ... `` without calling ``file.readlines() ``.
308
308
309
- .. method :: seek(offset[ , whence] )
309
+ .. method :: seek(offset, whence=SEEK_SET )
310
310
311
311
Change the stream position to the given byte *offset *. *offset * is
312
312
interpreted relative to the position indicated by *whence *. The default
@@ -810,7 +810,7 @@ Text I/O
810
810
811
811
If *size * is specified, at most *size * characters will be read.
812
812
813
- .. method :: seek(offset[ , whence] )
813
+ .. method :: seek(offset, whence=SEEK_SET )
814
814
815
815
Change the stream position to the given *offset *. Behaviour depends on
816
816
the *whence * parameter. The default value for *whence * is
You can’t perform that action at this time.
0 commit comments