[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:51 EST 2020


https://github.com/python/cpython/commit/cfeacf228924bed5e79d420eac682708b7fad727
commit: cfeacf228924bed5e79d420eac682708b7fad727
branch: 3.8
author: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com>
committer: GitHub <noreply at github.com>
date: 2020-01-05T14:37:44-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 c530e4117af97..e801ee392f195 100644
--- a/Doc/reference/datamodel.rst
+++ b/Doc/reference/datamodel.rst
@@ -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)



More information about the Python-checkins mailing list