summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorChristian Heimes <christian@cheimes.de>2008-05-16 10:23:31 (GMT)
committerChristian Heimes <christian@cheimes.de>2008-05-16 10:23:31 (GMT)
commit0bd23c0a981c6b4fe9c747d36951282122a0efc7 (patch)
tree26760e1b1f98587bc9d3b30b1238296c738ba226 /Modules
parent107b812947dabccf7395701338f1efcde1d878ec (diff)
downloadcpython-0bd23c0a981c6b4fe9c747d36951282122a0efc7.zip
cpython-0bd23c0a981c6b4fe9c747d36951282122a0efc7.tar.gz
cpython-0bd23c0a981c6b4fe9c747d36951282122a0efc7.tar.bz2
Fixed #2870: cmathmodule.c compile error
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 d6d1f27..07b2f29 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(r)
+ PyFPE_END_PROTECT(z)
if (errno != 0)
return math_error();
else