Skip to content

Commit c5a4305

Browse files
fix merge
1 parent d4b6dcc commit c5a4305

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

Modules/_io/_iomodule.c

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -577,7 +577,6 @@ iomodule_traverse(PyObject *mod, visitproc visit, void *arg) {
577577
Py_VISIT(state->PyBytesIOBuffer_Type);
578578
Py_VISIT(state->PyBytesIO_Type);
579579
Py_VISIT(state->PyFileIO_Type);
580-
Py_VISIT(state->PyIOBase_Type);
581580
Py_VISIT(state->PyStringIO_Type);
582581
Py_VISIT(state->PyTextIOBase_Type);
583582
Py_VISIT(state->PyTextIOWrapper_Type);
@@ -604,7 +603,6 @@ iomodule_clear(PyObject *mod) {
604603
Py_CLEAR(state->PyBytesIOBuffer_Type);
605604
Py_CLEAR(state->PyBytesIO_Type);
606605
Py_CLEAR(state->PyFileIO_Type);
607-
Py_CLEAR(state->PyIOBase_Type);
608606
Py_CLEAR(state->PyStringIO_Type);
609607
Py_CLEAR(state->PyTextIOBase_Type);
610608
Py_CLEAR(state->PyTextIOWrapper_Type);
@@ -676,7 +674,6 @@ iomodule_exec(PyObject *m)
676674
}
677675

678676
// Base classes
679-
state->PyIOBase_Type = (PyTypeObject *)Py_NewRef(&PyIOBase_Type);
680677
ADD_TYPE(m, state->PyIncrementalNewlineDecoder_Type, &nldecoder_spec, NULL);
681678
ADD_TYPE(m, state->PyBytesIOBuffer_Type, &bytesiobuf_spec, NULL);
682679
ADD_TYPE(m, state->PyIOBase_Type, &iobase_spec, NULL);

0 commit comments

Comments
 (0)