summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2023-01-20 22:16:10 (GMT)
committerGitHub <noreply@github.com>2023-01-20 22:16:10 (GMT)
commit23bb5f35f57b9bd2b31830c77e196422c4ae09cb (patch)
tree25f73abc0f25e3901e94640a74a8d69d1d70e8e6 /Doc
parent2fe0404deb96999e56b205a72fa6e6056a048935 (diff)
downloadcpython-23bb5f35f57b9bd2b31830c77e196422c4ae09cb.zip
cpython-23bb5f35f57b9bd2b31830c77e196422c4ae09cb.tar.gz
cpython-23bb5f35f57b9bd2b31830c77e196422c4ae09cb.tar.bz2
gh-91485: Avoid unnecessary use of non-Python syntax in io docs (GH-101177)
(cherry picked from commit 783d1bc51b886b6135e6a4effb91be207df5f50a) Co-authored-by: Shantanu <12621235+hauntsaninja@users.noreply.github.com>
Diffstat (limited to 'Doc')
-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 5cf692e..06716b7 100644
--- a/Doc/library/io.rst
+++ b/Doc/library/io.rst
@@ -1015,8 +1015,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*.