summaryrefslogtreecommitdiffstats
path: root/Python
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2014-07-07 21:07:27 (GMT)
committerVictor Stinner <victor.stinner@gmail.com>2014-07-07 21:07:27 (GMT)
commitac7d80c7d040936ee90e6d62058493727caa7611 (patch)
tree9db738c23df8ecd659770ae7a05e5c63ab2ce17c /Python
parent69d2d013f19c238fecb259f197d6e7203cd38031 (diff)
parentab826d11a310fd4d7c99f6cf449660b690846a3b (diff)
downloadcpython-ac7d80c7d040936ee90e6d62058493727caa7611.zip
cpython-ac7d80c7d040936ee90e6d62058493727caa7611.tar.gz
cpython-ac7d80c7d040936ee90e6d62058493727caa7611.tar.bz2
(Merge 3.4) Issue #21925: PyImport_Cleanup(): Remove unused parameter in
PySys_FormatStderr() call
Diffstat (limited to 'Python')
-rw-r--r--Python/import.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/import.c b/Python/import.c
index cad830f..317bdf7 100644
--- a/Python/import.c
+++ b/Python/import.c
@@ -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);
}