diff options
author | Christian Heimes <christian@cheimes.de> | 2008-05-16 11:28:56 (GMT) |
---|---|---|
committer | Christian Heimes <christian@cheimes.de> | 2008-05-16 11:28:56 (GMT) |
commit | ca21c65a237f1fbeb6b71ad124c31e9b59a41c98 (patch) | |
tree | c24ed870dd015817c8e6ec2bb3df4953c96d052e /Modules | |
parent | 0bd23c0a981c6b4fe9c747d36951282122a0efc7 (diff) | |
download | cpython-ca21c65a237f1fbeb6b71ad124c31e9b59a41c98.zip cpython-ca21c65a237f1fbeb6b71ad124c31e9b59a41c98.tar.gz cpython-ca21c65a237f1fbeb6b71ad124c31e9b59a41c98.tar.bz2 |
Following Amaury's advice
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/cmathmodule.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/cmathmodule.c b/Modules/cmathmodule.c index 07b2f29..109f2cc 100644 --- a/Modules/cmathmodule.c +++ b/Modules/cmathmodule.c @@ -920,7 +920,7 @@ cmath_phase(PyObject *self, PyObject *args) errno = 0; PyFPE_START_PROTECT("arg function", return 0) phi = c_atan2(z); - PyFPE_END_PROTECT(z) + PyFPE_END_PROTECT(phi) if (errno != 0) return math_error(); else |