bpo-46541: Remove unnecessary Py_VISIT (GH-31608)

This commit is contained in:
Dong-hee Na 2022-02-28 16:06:58 +09:00 committed by GitHub
parent 345572a1a0
commit 088dd76dba
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 0 additions and 6 deletions

View File

@ -60,7 +60,6 @@ _csv_traverse(PyObject *module, visitproc visit, void *arg)
Py_VISIT(module_state->dialect_type);
Py_VISIT(module_state->reader_type);
Py_VISIT(module_state->writer_type);
Py_VISIT(module_state->str_write);
return 0;
}

View File

@ -3034,11 +3034,6 @@ array_traverse(PyObject *module, visitproc visit, void *arg)
array_state *state = get_array_state(module);
Py_VISIT(state->ArrayType);
Py_VISIT(state->ArrayIterType);
Py_VISIT(state->str_read);
Py_VISIT(state->str_write);
Py_VISIT(state->str__array_reconstructor);
Py_VISIT(state->str___dict__);
Py_VISIT(state->str_iter);
return 0;
}