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 @@ -327,7 +327,7 @@ I/O Base Classes
327
327
Note that it's already possible to iterate on file objects using ``for
328
328
line in file: ... `` without calling ``file.readlines() ``.
329
329
330
- .. method :: seek(offset[ , whence] )
330
+ .. method :: seek(offset, whence=SEEK_SET )
331
331
332
332
Change the stream position to the given byte *offset *. *offset * is
333
333
interpreted relative to the position indicated by *whence *. The default
@@ -831,7 +831,7 @@ Text I/O
831
831
832
832
If *size * is specified, at most *size * characters will be read.
833
833
834
- .. method :: seek(offset[ , whence] )
834
+ .. method :: seek(offset, whence=SEEK_SET )
835
835
836
836
Change the stream position to the given *offset *. Behaviour depends on
837
837
the *whence * parameter. The default value for *whence * is
You can’t perform that action at this time.
0 commit comments