mirror of
https://github.com/python/cpython.git
synced 2024-11-23 18:04:37 +08:00
bpo-46541: Remove unnecessary Py_VISIT (GH-31608)
This commit is contained in:
parent
345572a1a0
commit
088dd76dba
@ -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;
|
||||
}
|
||||
|
||||
|
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user