summaryrefslogtreecommitdiffstats
path: root/Mac/Modules/macosmodule.c
diff options
context:
space:
mode:
Diffstat (limited to 'Mac/Modules/macosmodule.c')
-rw-r--r--Mac/Modules/macosmodule.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Mac/Modules/macosmodule.c b/Mac/Modules/macosmodule.c
index 68f9b48..14f807c 100644
--- a/Mac/Modules/macosmodule.c
+++ b/Mac/Modules/macosmodule.c
@@ -377,7 +377,7 @@ MacOS_HighLevelEventProc(EventRecord *e)
Py_DECREF(args);
}
if (res == NULL) {
- fprintf(stderr, "Exception in MacOS_HighLevelEventProc:\n");
+ PySys_WriteStderr("Exception in MacOS_HighLevelEventProc:\n");
PyErr_Print();
}
else