Skip to content

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

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

Activity

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

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