]> granicus.if.org Git - python/commitdiff
Issue #21925: PyImport_Cleanup(): Remove unused parameter in
authorVictor Stinner <victor.stinner@gmail.com>
Mon, 7 Jul 2014 21:06:15 +0000 (23:06 +0200)
committerVictor Stinner <victor.stinner@gmail.com>
Mon, 7 Jul 2014 21:06:15 +0000 (23:06 +0200)
PySys_FormatStderr() call

Python/import.c

index 80e376483fff8f8456dc118404adc18f58a97105..7ee7ed9bf1561115700ef30e8e89fb86bc6f0bf5 100644 (file)
@@ -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);
         }