Skip to content

mypy-internally in FuncBase class, the method name has_self_or_cls_argument() is wrong saying argument instead of parameter #20941

@hyperkai

Description

@hyperkai

*Notes:

  • mypy 1.19.1
  • Python 3.14.0

mypy-internally in FuncBase class, the method name has_self_or_cls_argument() is wrong saying argument instead of parameter so it should be has_self_or_cls_parameter():

*Notes:

  • has_self_or_cls_argument-related wrong code should also be corrected.

From:

has_self_or_cls_argument

To:

has_self_or_cls_parameter

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugmypy got something wrong

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions