summaryrefslogtreecommitdiffstats
path: root/Doc/library/io.rst
diff options
context:
space:
mode:
authorShantanu <12621235+hauntsaninja@users.noreply.github.com>2023-01-20 22:06:10 (GMT)
committerGitHub <noreply@github.com>2023-01-20 22:06:10 (GMT)
commit783d1bc51b886b6135e6a4effb91be207df5f50a (patch)
treeabd035cf6bb31ecef71e2ea44d222c5dc5b84d79 /Doc/library/io.rst
parent4510fbb2163a5bdc4250752eab5a4bb9034dc76d (diff)
downloadcpython-783d1bc51b886b6135e6a4effb91be207df5f50a.zip
cpython-783d1bc51b886b6135e6a4effb91be207df5f50a.tar.gz
cpython-783d1bc51b886b6135e6a4effb91be207df5f50a.tar.bz2
gh-91485: Avoid unnecessary use of non-Python syntax in io docs (#101177)
Diffstat (limited to 'Doc/library/io.rst')
-rw-r--r--Doc/library/io.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/library/io.rst b/Doc/library/io.rst
index 0968509..c9249da 100644
--- a/Doc/library/io.rst
+++ b/Doc/library/io.rst
@@ -1021,8 +1021,8 @@ Text I/O
.. versionadded:: 3.7
- .. method:: reconfigure(*[, encoding][, errors][, newline][, \
- line_buffering][, write_through])
+ .. method:: reconfigure(*, encoding=None, errors=None, newline=None, \
+ line_buffering=None, write_through=None)
Reconfigure this text stream using new settings for *encoding*,
*errors*, *newline*, *line_buffering* and *write_through*.