mirror of
https://github.com/python/cpython.git
synced 2025-09-27 10:50:04 +00:00
Fixed for WITHOUT_COMPLEX compilation (Jack)
This commit is contained in:
parent
2861f4ec6e
commit
ac1fc95c3c
1 changed files with 2 additions and 1 deletions
|
@ -844,8 +844,9 @@ parsenumber(co, s)
|
||||||
PyFPE_END_PROTECT(c)
|
PyFPE_END_PROTECT(c)
|
||||||
return PyComplex_FromCComplex(c);
|
return PyComplex_FromCComplex(c);
|
||||||
}
|
}
|
||||||
else {
|
else
|
||||||
#endif
|
#endif
|
||||||
|
{
|
||||||
PyFPE_START_PROTECT("atof", return 0)
|
PyFPE_START_PROTECT("atof", return 0)
|
||||||
dx = atof(s);
|
dx = atof(s);
|
||||||
PyFPE_END_PROTECT(dx)
|
PyFPE_END_PROTECT(dx)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue