Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit ab826d1

Browse files
committed
Issue #21925: PyImport_Cleanup(): Remove unused parameter in
PySys_FormatStderr() call
1 parent cd75298 commit ab826d1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Python/import.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -460,7 +460,7 @@ PyImport_Cleanup(void)
460460
while (PyDict_Next(modules, &pos, &key, &value)) {
461461
if (PyModule_Check(value)) {
462462
if (Py_VerboseFlag && PyUnicode_Check(key))
463-
PySys_FormatStderr("# cleanup[2] removing %U\n", key, value);
463+
PySys_FormatStderr("# cleanup[2] removing %U\n", key);
464464
STORE_MODULE_WEAKREF(key, value);
465465
PyDict_SetItem(modules, key, Py_None);
466466
}

0 commit comments

Comments
 (0)