From dd1d2553ee3b94e9bf35fd0cc208a8cd1bfa26d5 Mon Sep 17 00:00:00 2001 From: fikotta <81991278+fikotta@users.noreply.github.com> Date: Mon, 20 Jun 2022 20:45:47 +0200 Subject: [PATCH 1/2] Possible type-o on line 22 line 22 (class _io.TextIOWrapper "textio *" "&TextIOWrapper_TYpe") possible mistype on TextIOWrapper_Type proposed change (class _io.TextIOWrapper "textio *" "&TextIOWrapper_Type") --- Modules/_io/textio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Modules/_io/textio.c b/Modules/_io/textio.c index 3cbaca3ef46069..3d3e96fc7f5872 100644 --- a/Modules/_io/textio.c +++ b/Modules/_io/textio.c @@ -19,7 +19,7 @@ /*[clinic input] module _io class _io.IncrementalNewlineDecoder "nldecoder_object *" "&PyIncrementalNewlineDecoder_Type" -class _io.TextIOWrapper "textio *" "&TextIOWrapper_TYpe" +class _io.TextIOWrapper "textio *" "&TextIOWrapper_Type" [clinic start generated code]*/ /*[clinic end generated code: output=da39a3ee5e6b4b0d input=2097a4fc85670c26]*/ From 5893d4076ccd06a1cbe1a465f44efd599f5ca916 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Langa?= Date: Wed, 22 Jun 2022 11:26:10 +0200 Subject: [PATCH 2/2] Regen textio.c --- Modules/_io/textio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Modules/_io/textio.c b/Modules/_io/textio.c index 3d3e96fc7f5872..660396b8b03ead 100644 --- a/Modules/_io/textio.c +++ b/Modules/_io/textio.c @@ -21,7 +21,7 @@ module _io class _io.IncrementalNewlineDecoder "nldecoder_object *" "&PyIncrementalNewlineDecoder_Type" class _io.TextIOWrapper "textio *" "&TextIOWrapper_Type" [clinic start generated code]*/ -/*[clinic end generated code: output=da39a3ee5e6b4b0d input=2097a4fc85670c26]*/ +/*[clinic end generated code: output=da39a3ee5e6b4b0d input=ed072384f8aada2c]*/ /* TextIOBase */