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
commitb331afe7d60e84eb767bdbdec0cd962672f5ff14 (patch)
tree98f875c1b6f9d49d0ee5ae2c5a9a10cc055fbacb /Modules/cmathmodule.c
parent86c5990ca907e96e4af56a957e167430be97cd1e (diff)
downloadcpython-b331afe7d60e84eb767bdbdec0cd962672f5ff14.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)