Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Typo in UNARY_FUNC(PyNumber_Positive) #116316

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

Closed
Eclips4 opened this issue Mar 4, 2024 · 0 comments
Closed

Typo in UNARY_FUNC(PyNumber_Positive) #116316

Eclips4 opened this issue Mar 4, 2024 · 0 comments
Labels
type-bug An unexpected behavior, bug, or error

Comments

@Eclips4
Copy link
Member

Eclips4 commented Mar 4, 2024

Bug report

Bug description:

UNARY_FUNC(PyNumber_Positive, nb_positive, __pow__, "unary +")

There's should be a __pos__ instead of __pow__

CPython versions tested on:

CPython main branch

Operating systems tested on:

No response

Linked PRs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type-bug An unexpected behavior, bug, or error
Projects
None yet
Development

No branches or pull requests

1 participant