gh-91485: Avoid unnecessary use of non-Python syntax in io docs (GH-101177)

(cherry picked from commit 783d1bc51b)

Co-authored-by: Shantanu <12621235+hauntsaninja@users.noreply.github.com>
This commit is contained in:
Miss Islington (bot) 2023-01-20 14:12:26 -08:00 committed by GitHub
parent e039d53dae
commit 0dc35e4bbb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1021,8 +1021,8 @@ Text I/O
.. versionadded:: 3.7 .. versionadded:: 3.7
.. method:: reconfigure(*[, encoding][, errors][, newline][, \ .. method:: reconfigure(*, encoding=None, errors=None, newline=None, \
line_buffering][, write_through]) line_buffering=None, write_through=None)
Reconfigure this text stream using new settings for *encoding*, Reconfigure this text stream using new settings for *encoding*,
*errors*, *newline*, *line_buffering* and *write_through*. *errors*, *newline*, *line_buffering* and *write_through*.