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

@ -818,14 +818,14 @@ parsenumber(co, s)
c.real = 0.;
PyFPE_START_PROTECT("atof", return 0)
c.imag = atof(s);
PyFPE_END_PROTECT
PyFPE_END_PROTECT(c)
return newcomplexobject(c);
}
else {
#endif
PyFPE_START_PROTECT("atof", return 0)
dx = atof(s);
PyFPE_END_PROTECT
PyFPE_END_PROTECT(dx)
return newfloatobject(dx);
}
}