[Python-checkins] cpython (3.4): Issue #21925: PyImport_Cleanup(): Remove unused parameter in

victor.stinner python-checkins at python.org
Mon Jul 7 23:07:54 CEST 2014


http://hg.python.org/cpython/rev/047da19efdab
changeset:   91598:047da19efdab
branch:      3.4
parent:      91594:34a0d98c51ea
user:        Victor Stinner <victor.stinner at gmail.com>
date:        Mon Jul 07 23:06:15 2014 +0200
summary:
  Issue #21925: PyImport_Cleanup(): Remove unused parameter in
PySys_FormatStderr() call

files:
  Python/import.c |  2 +-
  1 files changed, 1 insertions(+), 1 deletions(-)


diff --git a/Python/import.c b/Python/import.c
--- a/Python/import.c
+++ b/Python/import.c
@@ -460,7 +460,7 @@
     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);
         }

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list