mirror of
https://github.com/python/cpython.git
synced 2025-09-26 18:29:57 +00:00
Following Amaury's advice
This commit is contained in:
parent
0bd23c0a98
commit
ca21c65a23
1 changed files with 1 additions and 1 deletions
|
@ -920,7 +920,7 @@ cmath_phase(PyObject *self, PyObject *args)
|
||||||
errno = 0;
|
errno = 0;
|
||||||
PyFPE_START_PROTECT("arg function", return 0)
|
PyFPE_START_PROTECT("arg function", return 0)
|
||||||
phi = c_atan2(z);
|
phi = c_atan2(z);
|
||||||
PyFPE_END_PROTECT(z)
|
PyFPE_END_PROTECT(phi)
|
||||||
if (errno != 0)
|
if (errno != 0)
|
||||||
return math_error();
|
return math_error();
|
||||||
else
|
else
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue