Skip to content

Allow a three-argument __rpow__ when targeting Python 3.14+ - #22571

Open
dualfroz wants to merge 1 commit into
python:masterfrom
dualfroz:fix/10786-ternary-rpow
Open

dualfroz wants to merge 1 commit into
python:masterfrom
dualfroz:fix/10786-ternary-rpow

Conversation

@dualfroz

Copy link
Copy Markdown

Fixes #10786

allow a third mod argument on __rpow__, ternary pow calls it since 3.14. fixes #10786

@github-actions

Copy link
Copy Markdown
Contributor

According to mypy_primer, this change doesn't affect type check results on a corpus of open source code. ✅

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Mypy signals error with Protocol and __rpow__ method with three arguments

1 participant