Commit ac7d80c7 authored by Victor Stinner's avatar Victor Stinner

(Merge 3.4) Issue #21925: PyImport_Cleanup(): Remove unused parameter in

PySys_FormatStderr() call
parents 69d2d013 ab826d11
......@@ -402,7 +402,7 @@ PyImport_Cleanup(void)
while (PyDict_Next(modules, &pos, &key, &value)) {
if (PyModule_Check(value)) {
if (Py_VerboseFlag && PyUnicode_Check(key))
PySys_FormatStderr("# cleanup[2] removing %U\n", key, value);
PySys_FormatStderr("# cleanup[2] removing %U\n", key);
STORE_MODULE_WEAKREF(key, value);
PyDict_SetItem(modules, key, Py_None);
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment