diff options
author | Erlend E. Aasland <erlend.aasland@protonmail.com> | 2023-02-20 13:46:20 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-20 13:46:20 (GMT) |
commit | c00faf79438cc7f0d98af2679c695f747e4369a3 (patch) | |
tree | 9245f12ae35af5be4f308decb0d0e5512f4b0a1f /Modules/_io/clinic | |
parent | 27136310414965a3ea7f835e416cf74b91cefb48 (diff) | |
download | cpython-c00faf79438cc7f0d98af2679c695f747e4369a3.zip cpython-c00faf79438cc7f0d98af2679c695f747e4369a3.tar.gz cpython-c00faf79438cc7f0d98af2679c695f747e4369a3.tar.bz2 |
gh-101819: Adapt _io types to heap types, batch 1 (GH-101949)
Adapt StringIO, TextIOWrapper, FileIO, Buffered*, and BytesIO types.
Automerge-Triggered-By: GH:erlend-aasland
Diffstat (limited to 'Modules/_io/clinic')
-rw-r--r-- | Modules/_io/clinic/bufferedio.c.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Modules/_io/clinic/bufferedio.c.h b/Modules/_io/clinic/bufferedio.c.h index 38ea756..d44321b 100644 --- a/Modules/_io/clinic/bufferedio.c.h +++ b/Modules/_io/clinic/bufferedio.c.h @@ -601,7 +601,7 @@ static int _io_BufferedRWPair___init__(PyObject *self, PyObject *args, PyObject *kwargs) { int return_value = -1; - PyTypeObject *base_tp = &PyBufferedRWPair_Type; + PyTypeObject *base_tp = clinic_state()->PyBufferedRWPair_Type; PyObject *reader; PyObject *writer; Py_ssize_t buffer_size = DEFAULT_BUFFER_SIZE; @@ -714,4 +714,4 @@ skip_optional_pos: exit: return return_value; } -/*[clinic end generated code: output=953f1577e96e8d86 input=a9049054013a1b77]*/ +/*[clinic end generated code: output=8412b10c04259bb8 input=a9049054013a1b77]*/ |