Skip to content

Conversation

@noobCodec
Copy link

This pull request fixes #20016.

Updated pretty_callable to use the definition name if it matches 'init' instead of the type name for consistency. Not sure if this is correct, but appears to be what the issue is calling for.

Updated TC "testSerializeOverloaded__init__" to account for this change.

@github-actions
Copy link
Contributor

github-actions bot commented Nov 8, 2025

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.

Incorrect method name in cached overload "note" messages

1 participant