Kaydet (Commit) 31960db5 authored tarafından Tim Peters's avatar Tim Peters

int_pow(): Repair typo when passing on to float pow (the 2nd argument was

being passed as both the 2nd and 3rd args).  Regression test will follow.
üst f17efb93
......@@ -585,7 +585,7 @@ int_pow(PyIntObject *v, PyIntObject *w, PyIntObject *z)
return PyLong_Type.tp_as_number->nb_power(
(PyObject *)v,
(PyObject *)w,
(PyObject *)w);
(PyObject *)z);
}
}
iw >>= 1; /* Shift exponent down by 1 bit */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment