Skip to content

Commit 23bb5f3

Browse files
gh-91485: Avoid unnecessary use of non-Python syntax in io docs (GH-101177)
(cherry picked from commit 783d1bc) Co-authored-by: Shantanu <12621235+hauntsaninja@users.noreply.github.com>
1 parent 2fe0404 commit 23bb5f3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Doc/library/io.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1015,8 +1015,8 @@ Text I/O
10151015

10161016
.. versionadded:: 3.7
10171017

1018-
.. method:: reconfigure(*[, encoding][, errors][, newline][, \
1019-
line_buffering][, write_through])
1018+
.. method:: reconfigure(*, encoding=None, errors=None, newline=None, \
1019+
line_buffering=None, write_through=None)
10201020

10211021
Reconfigure this text stream using new settings for *encoding*,
10221022
*errors*, *newline*, *line_buffering* and *write_through*.

0 commit comments

Comments
 (0)