Skip to content
Draft
Prev Previous commit
Next Next commit
Use new _Py_rc_quot()
  • Loading branch information
skirpichev committed Sep 17, 2025
commit 7f25e0957966c2e021de958b64f4d807365deddf
2 changes: 1 addition & 1 deletion Objects/complexobject.c
Original file line number Diff line number Diff line change
Expand Up @@ -361,7 +361,7 @@ static Py_complex
c_powi(Py_complex x, long n)
{
if (n < 0)
return _Py_c_quot(c_1, c_powu(x,-n));
return _Py_rc_quot(1.0, c_powu(x, -n));
else
return c_powu(x,n);
}
Expand Down