]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-91485: Avoid unnecessary use of non-Python syntax in io docs (#101177)
authorShantanu <12621235+hauntsaninja@users.noreply.github.com>
Fri, 20 Jan 2023 22:06:10 +0000 (14:06 -0800)
committerGitHub <noreply@github.com>
Fri, 20 Jan 2023 22:06:10 +0000 (23:06 +0100)
Doc/library/io.rst

index 0968509fbafec29b5584f38e8fc9ff2938521f61..c9249da1c3c3d2ba0fc4cc4845cc07288bd63750 100644 (file)
@@ -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*.