diff options
author | Georg Brandl <georg@python.org> | 2014-10-30 21:26:26 (GMT) |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2014-10-30 21:26:26 (GMT) |
commit | 6b4c847c4f299517ec991621710c02459d204f05 (patch) | |
tree | ce305035f3e73d3cf718f5bf445474ef8e9379c1 /Doc/tutorial | |
parent | ed14c86facb62c4fb3fcff73c8ea3860c7dc8d29 (diff) | |
download | cpython-6b4c847c4f299517ec991621710c02459d204f05.zip cpython-6b4c847c4f299517ec991621710c02459d204f05.tar.gz cpython-6b4c847c4f299517ec991621710c02459d204f05.tar.bz2 |
Doc: fix default role usage (except in unittest mock docs)
Diffstat (limited to 'Doc/tutorial')
-rw-r--r-- | Doc/tutorial/inputoutput.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/tutorial/inputoutput.rst b/Doc/tutorial/inputoutput.rst index b3bf0ef..6f9c99d 100644 --- a/Doc/tutorial/inputoutput.rst +++ b/Doc/tutorial/inputoutput.rst @@ -323,8 +323,8 @@ first:: 18 ``f.tell()`` returns an integer giving the file object's current position in the file -represented as number of bytes from the beginning of the file when in `binary mode` and -an opaque number when in `text mode`. +represented as number of bytes from the beginning of the file when in binary mode and +an opaque number when in text mode. To change the file object's position, use ``f.seek(offset, from_what)``. The position is computed from adding *offset* to a reference point; the reference point is selected by |