Browse Source

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

PySys_FormatStderr() call
pull/224/head
Victor Stinner 12 years ago
parent
commit
ab826d11a3
  1. 2
      Python/import.c

2
Python/import.c

@ -460,7 +460,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);
}

Loading…
Cancel
Save