Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Doc: Fixed the parameter list of object. _rpow_ in the document #16477

Merged
merged 1 commit into from Jan 5, 2020

Conversation

@hongweipeng
Copy link
Contributor

hongweipeng commented Sep 29, 2019

The parameter list of object.__rpow__ should be the same as object.__pow__. As described in typeobject.c:

    NBSLOT("__pow__", nb_power, slot_nb_power, wrap_ternaryfunc,
           "__pow__($self, value, mod=None, /)\n--\n\nReturn pow(self, value, mod)."),
    NBSLOT("__rpow__", nb_power, slot_nb_power, wrap_ternaryfunc_r,
           "__rpow__($self, value, mod=None, /)\n--\n\nReturn pow(value, self, mod)."),
@csabella csabella merged commit abc0c4f into python:master Jan 5, 2020
4 checks passed
4 checks passed
Azure Pipelines PR #20190929.14 succeeded
Details
bedevere/issue-number Issue report skipped
bedevere/news "skip news" label found
continuous-integration/travis-ci/pr The Travis CI build passed
Details
@miss-islington

This comment has been minimized.

Copy link

miss-islington commented Jan 5, 2020

Thanks @hongweipeng for the PR, and @csabella for merging it 🌮🎉.. I'm working now to backport this PR to: 3.7, 3.8.
🐍🍒🤖

miss-islington added a commit to miss-islington/cpython that referenced this pull request Jan 5, 2020
(cherry picked from commit abc0c4f)

Co-authored-by: HongWeipeng <961365124@qq.com>
miss-islington added a commit that referenced this pull request Jan 5, 2020
(cherry picked from commit abc0c4f)

Co-authored-by: HongWeipeng <961365124@qq.com>
miss-islington added a commit that referenced this pull request Jan 5, 2020
(cherry picked from commit abc0c4f)

Co-authored-by: HongWeipeng <961365124@qq.com>
gousaiyang added a commit to gousaiyang/cpython that referenced this pull request Jan 8, 2020
petdance added a commit to petdance/cpython that referenced this pull request Jan 17, 2020
petdance added a commit to petdance/cpython that referenced this pull request Jan 17, 2020
petdance added a commit to petdance/cpython that referenced this pull request Jan 17, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
6 participants
You can’t perform that action at this time.