]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-91485: Avoid unnecessary use of non-Python syntax in io docs (GH-101177)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Fri, 20 Jan 2023 22:16:10 +0000 (14:16 -0800)
committerGitHub <noreply@github.com>
Fri, 20 Jan 2023 22:16:10 +0000 (14:16 -0800)
(cherry picked from commit 783d1bc51b886b6135e6a4effb91be207df5f50a)

Co-authored-by: Shantanu <12621235+hauntsaninja@users.noreply.github.com>
Doc/library/io.rst

index 5cf692e060cd2278770e76187f70cdfc8133ec8a..06716b7a7fc5d38f6ccb9bbd66342763e999b547 100644 (file)
@@ -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*.