diff options
Diffstat (limited to 'Objects')
-rw-r--r-- | Objects/intobject.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 @@ 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 */ |