[Python-checkins] r63367 - python/trunk/Modules/cmathmodule.c

christian.heimes python-checkins at python.org
Fri May 16 13:28:56 CEST 2008


Author: christian.heimes
Date: Fri May 16 13:28:56 2008
New Revision: 63367

Log:
Following Amaury's advice

Modified:
   python/trunk/Modules/cmathmodule.c

Modified: python/trunk/Modules/cmathmodule.c
==============================================================================
--- python/trunk/Modules/cmathmodule.c	(original)
+++ python/trunk/Modules/cmathmodule.c	Fri May 16 13:28:56 2008
@@ -920,7 +920,7 @@
 	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


More information about the Python-checkins mailing list