Docs: Fix backtick errors found by sphinx-lint (#97998)

Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com>
This commit is contained in:
Hugo van Kemenade 2022-10-06 18:01:30 -07:00 committed by GitHub
parent 27025e158c
commit fa2d43e518
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
55 changed files with 90 additions and 98 deletions

View file

@ -1055,10 +1055,10 @@ Text I/O
The initial value of the buffer can be set by providing *initial_value*.
If newline translation is enabled, newlines will be encoded as if by
:meth:`~TextIOBase.write`. The stream is positioned at the start of the
buffer which emulates opening an existing file in a `w+` mode, making it
buffer which emulates opening an existing file in a ``w+`` mode, making it
ready for an immediate write from the beginning or for a write that
would overwrite the initial value. To emulate opening a file in an `a+`
mode ready for appending, use `f.seek(0, io.SEEK_END)` to reposition the
would overwrite the initial value. To emulate opening a file in an ``a+``
mode ready for appending, use ``f.seek(0, io.SEEK_END)`` to reposition the
stream at the end of the buffer.
The *newline* argument works like that of :class:`TextIOWrapper`,