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/ae | |
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/ae')
-rw-r--r-- | Mac/Modules/ae/AEmodule.c | 2 | ||||
-rw-r--r-- | Mac/Modules/ae/aesupport.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/Mac/Modules/ae/AEmodule.c b/Mac/Modules/ae/AEmodule.c index 3127430..241cb5d 100644 --- a/Mac/Modules/ae/AEmodule.c +++ b/Mac/Modules/ae/AEmodule.c @@ -75,7 +75,7 @@ static pascal Boolean AEIdleProc(EventRecord *theEvent, long *sleepTime, RgnHand if ( PyOS_InterruptOccurred() ) return 1; if ( PyMac_HandleEvent(theEvent) < 0 ) { - fprintf(stderr, "Exception in user event handler during AE processing\n"); + PySys_WriteStderr("Exception in user event handler during AE processing\n"); PyErr_Clear(); } return 0; diff --git a/Mac/Modules/ae/aesupport.py b/Mac/Modules/ae/aesupport.py index 58af2df..d82496b 100644 --- a/Mac/Modules/ae/aesupport.py +++ b/Mac/Modules/ae/aesupport.py @@ -115,7 +115,7 @@ static pascal Boolean AEIdleProc(EventRecord *theEvent, long *sleepTime, RgnHand if ( PyOS_InterruptOccurred() ) return 1; if ( PyMac_HandleEvent(theEvent) < 0 ) { - fprintf(stderr, "Exception in user event handler during AE processing\\n"); + PySys_WriteStderr("Exception in user event handler during AE processing\\n"); PyErr_Clear(); } return 0; |