[Python-checkins] Fix the parameter list of object. _rpow_ (GH-GH-16477)

Miss Islington (bot) webhook-mailer at python.org
Sun Jan 5 17:37:45 EST 2020


https://github.com/python/cpython/commit/b853a7c6c0cf19c081efcc07336d9e9b8d2a7fae
commit: b853a7c6c0cf19c081efcc07336d9e9b8d2a7fae
branch: 3.7
author: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com>
committer: GitHub <noreply at github.com>
date: 2020-01-05T14:37:37-08:00
summary:

Fix the parameter list of object. _rpow_ (GH-GH-16477)

(cherry picked from commit abc0c4fa9970931849b3da598c5980a5b170661e)

Co-authored-by: HongWeipeng <961365124 at qq.com>

files:
M Doc/reference/datamodel.rst

diff --git a/Doc/reference/datamodel.rst b/Doc/reference/datamodel.rst
index c38dcdc4e512d..7d6cc34373b6c 100644
--- a/Doc/reference/datamodel.rst
+++ b/Doc/reference/datamodel.rst
@@ -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)



More information about the Python-checkins mailing list