New form of PyFPE_END_PROTECT macro.

This commit is contained in:
Guido van Rossum 1997-03-14 04:32:50 +00:00
parent 1aeb1047ba
commit 45b83915f8
12 changed files with 36 additions and 36 deletions

View file

@ -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)