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

Cheryl Sabella webhook-mailer at python.org
Sun Jan 5 17:20:34 EST 2020


https://github.com/python/cpython/commit/abc0c4fa9970931849b3da598c5980a5b170661e
commit: abc0c4fa9970931849b3da598c5980a5b170661e
branch: master
author: HongWeipeng <961365124 at qq.com>
committer: Cheryl Sabella <cheryl.sabella at gmail.com>
date: 2020-01-05T17:20:29-05:00
summary:

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

files:
M Doc/reference/datamodel.rst

diff --git a/Doc/reference/datamodel.rst b/Doc/reference/datamodel.rst
index c242041c73d41..1442fbeb33d76 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