summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorChristian Heimes <christian@cheimes.de>2008-05-16 11:28:56 (GMT)
committerChristian Heimes <christian@cheimes.de>2008-05-16 11:28:56 (GMT)
commitca21c65a237f1fbeb6b71ad124c31e9b59a41c98 (patch)
treec24ed870dd015817c8e6ec2bb3df4953c96d052e /Modules
parent0bd23c0a981c6b4fe9c747d36951282122a0efc7 (diff)
downloadcpython-ca21c65a237f1fbeb6b71ad124c31e9b59a41c98.zip
cpython-ca21c65a237f1fbeb6b71ad124c31e9b59a41c98.tar.gz
cpython-ca21c65a237f1fbeb6b71ad124c31e9b59a41c98.tar.bz2
Following Amaury's advice
Diffstat (limited to 'Modules')
-rw-r--r--Modules/cmathmodule.c2
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