]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Fix the parameter list of object. _rpow_ (GH-GH-16477)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Sun, 5 Jan 2020 22:37:37 +0000 (14:37 -0800)
committerGitHub <noreply@github.com>
Sun, 5 Jan 2020 22:37:37 +0000 (14:37 -0800)
(cherry picked from commit abc0c4fa9970931849b3da598c5980a5b170661e)

Co-authored-by: HongWeipeng <961365124@qq.com>
Doc/reference/datamodel.rst

index c38dcdc4e512d3b4701bf6a905306a3b5520d95e..7d6cc34373b6c6625edf629a07f7b1eee42177cb 100644 (file)
@@ -2318,7 +2318,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)