summaryrefslogtreecommitdiffstats
path: root/Doc/tutorial
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2014-10-30 21:25:41 (GMT)
committerGeorg Brandl <georg@python.org>2014-10-30 21:25:41 (GMT)
commit93a56cdc3798f66f82f8c3d538b479df8931752e (patch)
tree31b5320243b711763d7e5a92db2a2744188e0f9c /Doc/tutorial
parentaea7f4a8e27a2f3a512a9cafbee25e00247f548b (diff)
downloadcpython-93a56cdc3798f66f82f8c3d538b479df8931752e.zip
cpython-93a56cdc3798f66f82f8c3d538b479df8931752e.tar.gz
cpython-93a56cdc3798f66f82f8c3d538b479df8931752e.tar.bz2
Doc: fix default role usage (except in unittest mock docs)
Diffstat (limited to 'Doc/tutorial')
-rw-r--r--Doc/tutorial/inputoutput.rst4
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