]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Fix the parameter list of object. _rpow_ (#GH-16477)
authorHongWeipeng <961365124@qq.com>
Sun, 5 Jan 2020 22:20:29 +0000 (16:20 -0600)
committerCheryl Sabella <cheryl.sabella@gmail.com>
Sun, 5 Jan 2020 22:20:29 +0000 (17:20 -0500)
Doc/reference/datamodel.rst

index c242041c73d4164c2dc8c3ff56e577e8887389e6..1442fbeb33d767596d07e128ef87b27941741f3c 100644 (file)
@@ -2331,7 +2331,7 @@ left undefined.
             object.__rfloordiv__(self, other)
             object.__rmod__(self, other)
             object.__rdivmod__(self, other)
-            object.__rpow__(self, other)
+            object.__rpow__(self, other[, modulo])
             object.__rlshift__(self, other)
             object.__rrshift__(self, other)
             object.__rand__(self, other)