From fc40849f58a7f54cc3328ec1ee33943949b6d8f7 Mon Sep 17 00:00:00 2001 From: hauntsaninja Date: Thu, 19 Jan 2023 21:48:46 -0800 Subject: [PATCH] gh-91485: Avoid unnecessary use of non-Python syntax in io docs --- Doc/library/io.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Doc/library/io.rst b/Doc/library/io.rst index 0968509fbafec2..c9249da1c3c3d2 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*.