mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
Doc: fix default role usage (except in unittest mock docs)
This commit is contained in:
parent
ed14c86fac
commit
6b4c847c4f
12 changed files with 23 additions and 23 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue