From 45f398718922923bf33d1d5acf7c071c6c9ef868 Mon Sep 17 00:00:00 2001 From: Sergey B Kirpichev Date: Fri, 14 Feb 2025 05:19:24 +0300 Subject: [PATCH] gh-86069: correct object.__ipow__() signature There is no way to call ternary form of this dunder. --- Doc/reference/datamodel.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/reference/datamodel.rst b/Doc/reference/datamodel.rst index 66b836eaf0008a..cbe2f518e5f86f 100644 --- a/Doc/reference/datamodel.rst +++ b/Doc/reference/datamodel.rst @@ -3376,7 +3376,7 @@ left undefined. object.__itruediv__(self, other) object.__ifloordiv__(self, other) object.__imod__(self, other) - object.__ipow__(self, other[, modulo]) + object.__ipow__(self, other) object.__ilshift__(self, other) object.__irshift__(self, other) object.__iand__(self, other)