Skip to content

Correct "FuncBase.has_self_or_cls_argument()" and the related code#20942

Closed
hyperkai wants to merge 3 commits into
python:masterfrom
hyperkai:hyperkai-patch-26
Closed

Correct "FuncBase.has_self_or_cls_argument()" and the related code#20942
hyperkai wants to merge 3 commits into
python:masterfrom
hyperkai:hyperkai-patch-26

Conversation

@hyperkai

@hyperkai hyperkai commented Mar 2, 2026

Copy link
Copy Markdown
Contributor

Fix: #20941

@github-actions

This comment has been minimized.

@github-actions

github-actions Bot commented Mar 2, 2026

Copy link
Copy Markdown
Contributor

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

@hyperkai hyperkai closed this Mar 2, 2026
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-internally in FuncBase class, the method name has_self_or_cls_argument() is wrong saying argument instead of parameter

1 participant