summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2014-07-07 21:06:15 (GMT)
committerVictor Stinner <victor.stinner@gmail.com>2014-07-07 21:06:15 (GMT)
commitab826d11a310fd4d7c99f6cf449660b690846a3b (patch)
tree16265c35c1fb2e4442d0415da3b37ecd48cbed3d
parentcd75298611cbb79336e2a46ade2b7ae586e3d860 (diff)
downloadcpython-ab826d11a310fd4d7c99f6cf449660b690846a3b.zip
cpython-ab826d11a310fd4d7c99f6cf449660b690846a3b.tar.gz
cpython-ab826d11a310fd4d7c99f6cf449660b690846a3b.tar.bz2
Issue #21925: PyImport_Cleanup(): Remove unused parameter in
PySys_FormatStderr() call
-rw-r--r--Python/import.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/import.c b/Python/import.c
index 80e3764..7ee7ed9 100644
--- a/Python/import.c
+++ b/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);
}