Skip to content
Prev Previous commit
Next Next commit
Merge branch 'master' into fix-complex_pow-117999
  • Loading branch information
skirpichev committed Sep 19, 2024
commit b3b837e7e59bcfc90b51160f36a6a2a03a0f2393
1 change: 0 additions & 1 deletion Objects/complexobject.c
Original file line number Diff line number Diff line change
Expand Up @@ -538,7 +538,6 @@ complex_pow(PyObject *v, PyObject *w, PyObject *z)
}
errno = 0;
p = _Py_c_pow(a, b);
_Py_ADJUST_ERANGE2(p.real, p.imag);
if (errno == EDOM) {
PyErr_SetString(PyExc_ZeroDivisionError,
"zero to a negative or complex power");
Expand Down
You are viewing a condensed version of this merge commit. You can view the full changes here.