mirror of
https://github.com/python/cpython.git
synced 2025-11-01 18:51:43 +00:00
Doc: fix default role usage (except in unittest mock docs)
This commit is contained in:
parent
aea7f4a8e2
commit
93a56cdc37
14 changed files with 25 additions and 25 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