From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Fri, 20 Jan 2023 22:12:26 +0000 (-0800) Subject: gh-91485: Avoid unnecessary use of non-Python syntax in io docs (GH-101177) X-Git-Tag: v3.11.2~49 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=0dc35e4bbb33adc730fb43e4ef973737cf1c02d8;p=thirdparty%2FPython%2Fcpython.git 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> --- diff --git a/Doc/library/io.rst b/Doc/library/io.rst index 0968509fbafe..c9249da1c3c3 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*.