[Python-checkins] gh-91485: Avoid unnecessary use of non-Python syntax in io docs (GH-101177)
miss-islington
webhook-mailer at python.org
Fri Jan 20 17:16:17 EST 2023
https://github.com/python/cpython/commit/23bb5f35f57b9bd2b31830c77e196422c4ae09cb
commit: 23bb5f35f57b9bd2b31830c77e196422c4ae09cb
branch: 3.10
author: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com>
committer: miss-islington <31488909+miss-islington at users.noreply.github.com>
date: 2023-01-20T14:16:10-08:00
summary:
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 at users.noreply.github.com>
files:
M Doc/library/io.rst
diff --git a/Doc/library/io.rst b/Doc/library/io.rst
index 5cf692e060cd..06716b7a7fc5 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*.
More information about the Python-checkins
mailing list