summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Objects/floatobject.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/floatobject.c b/Objects/floatobject.c
index c841423..3e87903 100644
--- a/Objects/floatobject.c
+++ b/Objects/floatobject.c
@@ -503,7 +503,7 @@ float_pow(PyObject *v, PyObject *w, PyObject *z)
PyFPE_START_PROTECT("pow", return NULL)
if ((PyObject *)z != Py_None) {
double iz;
- CONVERT_TO_DOUBLE(w, iz);
+ CONVERT_TO_DOUBLE(z, iz);
ix=fmod(1.0, iz);
if (ix!=0 && iz<0) ix+=iz;
}