mirror of https://github.com/python/cpython
Fixed for WITHOUT_COMPLEX compilation (Jack)
This commit is contained in:
parent
2861f4ec6e
commit
ac1fc95c3c
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue