From a36c82bafff3d1024ff36beb74a2cf0a022e0d88 Mon Sep 17 00:00:00 2001 From: "Partha P. Mukherjee" Date: Sat, 21 Jan 2023 12:40:10 -0500 Subject: [PATCH 1/3] Fix typo in docstring for read method of _io.TextIOWrapper class --- Modules/_io/textio.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Modules/_io/textio.c b/Modules/_io/textio.c index 32ab8a44c62151..ea2ea32c336954 100644 --- a/Modules/_io/textio.c +++ b/Modules/_io/textio.c @@ -56,10 +56,10 @@ textiobase_detach(PyObject *self, PyObject *Py_UNUSED(ignored)) } PyDoc_STRVAR(textiobase_read_doc, - "Read at most n characters from stream.\n" + "Read at most size characters from stream.\n" "\n" - "Read from underlying buffer until we have n characters or we hit EOF.\n" - "If n is negative or omitted, read until EOF.\n" + "Read from underlying buffer until we have size characters or we hit EOF.\n" + "If size is negative or omitted, read until EOF.\n" ); static PyObject * From aea6f77e6bdceb2b241dc4daeed3fb45e2f833b5 Mon Sep 17 00:00:00 2001 From: "blurb-it[bot]" <43283697+blurb-it[bot]@users.noreply.github.com> Date: Sun, 22 Jan 2023 00:56:44 +0000 Subject: [PATCH 2/3] =?UTF-8?q?=F0=9F=93=9C=F0=9F=A4=96=20Added=20by=20blu?= =?UTF-8?q?rb=5Fit.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Documentation/2023-01-22-00-56-43.gh-issue-101228.8dlZvd.rst | 1 + 1 file changed, 1 insertion(+) create mode 100644 Misc/NEWS.d/next/Documentation/2023-01-22-00-56-43.gh-issue-101228.8dlZvd.rst diff --git a/Misc/NEWS.d/next/Documentation/2023-01-22-00-56-43.gh-issue-101228.8dlZvd.rst b/Misc/NEWS.d/next/Documentation/2023-01-22-00-56-43.gh-issue-101228.8dlZvd.rst new file mode 100644 index 00000000000000..1e680d6ec61684 --- /dev/null +++ b/Misc/NEWS.d/next/Documentation/2023-01-22-00-56-43.gh-issue-101228.8dlZvd.rst @@ -0,0 +1 @@ +Fix typo in docstring for read method of _io.TextIOWrapper class From f2c72f8e0e40f34a151f87f6e74e5735933ac9e0 Mon Sep 17 00:00:00 2001 From: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com> Date: Sun, 5 Feb 2023 15:22:00 +0530 Subject: [PATCH 3/3] Delete 2023-01-22-00-56-43.gh-issue-101228.8dlZvd.rst --- .../Documentation/2023-01-22-00-56-43.gh-issue-101228.8dlZvd.rst | 1 - 1 file changed, 1 deletion(-) delete mode 100644 Misc/NEWS.d/next/Documentation/2023-01-22-00-56-43.gh-issue-101228.8dlZvd.rst diff --git a/Misc/NEWS.d/next/Documentation/2023-01-22-00-56-43.gh-issue-101228.8dlZvd.rst b/Misc/NEWS.d/next/Documentation/2023-01-22-00-56-43.gh-issue-101228.8dlZvd.rst deleted file mode 100644 index 1e680d6ec61684..00000000000000 --- a/Misc/NEWS.d/next/Documentation/2023-01-22-00-56-43.gh-issue-101228.8dlZvd.rst +++ /dev/null @@ -1 +0,0 @@ -Fix typo in docstring for read method of _io.TextIOWrapper class