commit | 31960db5a56d07584c53970799c530f42183f7b9 | [log] [tgz] |
---|---|---|
author | Tim Peters <tim.peters@gmail.com> | Thu Aug 23 21:28:33 2001 +0000 |
committer | Tim Peters <tim.peters@gmail.com> | Thu Aug 23 21:28:33 2001 +0000 |
tree | 3c2b80c968bc4106dae8795f678f7eb16dffdc87 | |
parent | f17efb93d95562071b6069e44b723873ffba05f4 [diff] [blame] |
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.
diff --git a/Objects/intobject.c b/Objects/intobject.c index 7724760..847c74d 100644 --- a/Objects/intobject.c +++ b/Objects/intobject.c
@@ -585,7 +585,7 @@ return PyLong_Type.tp_as_number->nb_power( (PyObject *)v, (PyObject *)w, - (PyObject *)w); + (PyObject *)z); } } iw >>= 1; /* Shift exponent down by 1 bit */