SIGN IN SIGN UP

Add function definition notes for `too_many_positional_arguments` errors (#21410)

Followup to https://github.com/python/mypy/pull/20794

Adds the "foo" is defined in "bar" note for the
`too_many_positional_arguments ` error case

Also update some call-related errors to generate
`call-arg` error code (sub-code of `misc`) instead
of `misc`, for consistency.
K
Kevin Kannammalil committed
0f9676e3999afdf17ccdb67f2a8c26062fb44407
Parent: f8bf7ab
Committed by GitHub <noreply@github.com> on 6/15/2026, 9:36:52 AM