Skip to content

Commit 2b06df4

Browse files
committed
format
1 parent b61cc0a commit 2b06df4

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

Doc/tutorial/inputoutput.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -454,11 +454,11 @@ current position in the file represented as number of bytes from the beginning
454454
of the file when in binary mode and an opaque number when in text mode.
455455

456456
To change the file object's position, use
457-
:meth:`f.seek(offset, whence) <io.IOBase.seek>`. The position is computed
458-
from adding *offset* to a reference point; the reference point is selected by
459-
the *whence* argument. A *whence* value of 0 measures from the beginning
460-
of the file, 1 uses the current file position, and 2 uses the end of the file
461-
as the reference point. *whence* can be omitted and defaults to 0, using the
457+
:meth:`f.seek(offset, whence) <io.IOBase.seek>`. The position is computed from
458+
adding *offset* to a reference point; the reference point is selected by the
459+
*whence* argument. A *whence* value of 0 measures from the beginning of the
460+
file, 1 uses the current file position, and 2 uses the end of the file as the
461+
reference point. *whence* can be omitted and defaults to 0, using the
462462
beginning of the file as the reference point. ::
463463

464464
>>> f = open('workfile', 'rb+')

0 commit comments

Comments
 (0)