Fixed for WITHOUT_COMPLEX compilation (Jack)

This commit is contained in:
Guido van Rossum 1997-10-08 15:23:55 +00:00
parent 2861f4ec6e
commit ac1fc95c3c
1 changed files with 2 additions and 1 deletions

View File

@ -844,8 +844,9 @@ parsenumber(co, s)
PyFPE_END_PROTECT(c)
return PyComplex_FromCComplex(c);
}
else {
else
#endif
{
PyFPE_START_PROTECT("atof", return 0)
dx = atof(s);
PyFPE_END_PROTECT(dx)