diff options
| author | Georg Brandl <georg@python.org> | 2014-10-30 22:25:41 +0100 |
|---|---|---|
| committer | Georg Brandl <georg@python.org> | 2014-10-30 22:25:41 +0100 |
| commit | 93a56cdc3798f66f82f8c3d538b479df8931752e (patch) | |
| tree | 31b5320243b711763d7e5a92db2a2744188e0f9c /Doc/tutorial/inputoutput.rst | |
| parent | aea7f4a8e27a2f3a512a9cafbee25e00247f548b (diff) | |
| download | cpython-git-93a56cdc3798f66f82f8c3d538b479df8931752e.tar.gz | |
Doc: fix default role usage (except in unittest mock docs)
Diffstat (limited to 'Doc/tutorial/inputoutput.rst')
| -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 b3bf0ef195..6f9c99daf9 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 |
