forked from python/mypy
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
stubtest: fix signature construction for overload + implicit classmet…
…hod (python#9921) __class_getitem__ and __init_subclass__ are always classmethods, even if they aren't decorated. We previously only handled this correctly if these methods weren't overloaded. This came up in python/typeshed#4937 Co-authored-by: hauntsaninja <>
- Loading branch information
1 parent
92923b2
commit 734e4ad
Showing
1 changed file
with
13 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters