diff options
author | Jack Jansen <jack.jansen@cwi.nl> | 1998-10-12 20:53:15 (GMT) |
---|---|---|
committer | Jack Jansen <jack.jansen@cwi.nl> | 1998-10-12 20:53:15 (GMT) |
commit | deff89c8be78ed962d989bd88c5b3ee292263596 (patch) | |
tree | c394e51426f071b8dcfc11418cb6280e425b3d80 /Mac/Modules/waste | |
parent | 3179b36014d1dd48cc3f1363edf4b1adecc12c79 (diff) | |
download | cpython-deff89c8be78ed962d989bd88c5b3ee292263596.zip cpython-deff89c8be78ed962d989bd88c5b3ee292263596.tar.gz cpython-deff89c8be78ed962d989bd88c5b3ee292263596.tar.bz2 |
Replaced fprintf(stderr,...) with PySys_WriteStderr(...) where appropriate.
Diffstat (limited to 'Mac/Modules/waste')
-rw-r--r-- | Mac/Modules/waste/wastemodule.c | 2 | ||||
-rw-r--r-- | Mac/Modules/waste/wastesupport.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/Mac/Modules/waste/wastemodule.c b/Mac/Modules/waste/wastemodule.c index 660401f..ffb39c3 100644 --- a/Mac/Modules/waste/wastemodule.c +++ b/Mac/Modules/waste/wastemodule.c @@ -150,7 +150,7 @@ any_handler(WESelector what, WEObjectReference who, PyObject *args, PyObject **r Py_DECREF(func); Py_DECREF(key); if ( *rv == NULL ) { - fprintf(stderr, "--Exception in callback: "); + PySys_WriteStderr("--Exception in callback: "); PyErr_Print(); return errAEReplyNotArrived; } diff --git a/Mac/Modules/waste/wastesupport.py b/Mac/Modules/waste/wastesupport.py index 76eb010..488e01a 100644 --- a/Mac/Modules/waste/wastesupport.py +++ b/Mac/Modules/waste/wastesupport.py @@ -164,7 +164,7 @@ any_handler(WESelector what, WEObjectReference who, PyObject *args, PyObject **r Py_DECREF(func); Py_DECREF(key); if ( *rv == NULL ) { - fprintf(stderr, "--Exception in callback: "); + PySys_WriteStderr("--Exception in callback: "); PyErr_Print(); return errAEReplyNotArrived; } |