summaryrefslogtreecommitdiff
path: root/Modules/cmathmodule.c
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1997-03-14 04:32:50 +0000
committerGuido van Rossum <guido@python.org>1997-03-14 04:32:50 +0000
commit45b83915f8d5974045d374c981531d9b98570df1 (patch)
treef7212bc9be87ae8c5464633e0701cbf9a2f15b15 /Modules/cmathmodule.c
parent1aeb1047baa41af14e720f74f30d288417f1122e (diff)
downloadcpython-git-45b83915f8d5974045d374c981531d9b98570df1.tar.gz
New form of PyFPE_END_PROTECT macro.
Diffstat (limited to 'Modules/cmathmodule.c')
-rw-r--r--Modules/cmathmodule.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/cmathmodule.c b/Modules/cmathmodule.c
index 438f010c57..4e08722bcc 100644
--- a/Modules/cmathmodule.c
+++ b/Modules/cmathmodule.c
@@ -249,7 +249,7 @@ math_1(args, func)
errno = 0;
PyFPE_START_PROTECT("complex function", return 0)
x = (*func)(x);
- PyFPE_END_PROTECT
+ PyFPE_END_PROTECT(x)
CHECK(x.real);
CHECK(x.imag);
if (errno != 0)