oh hey that's a real bug

This commit is contained in:
Douglas Creager 2025-12-05 16:03:28 -05:00
parent 657685f731
commit b84a35f22f
1 changed files with 1 additions and 1 deletions

View File

@ -622,7 +622,7 @@ class ClassWithNewAndInit:
def __new__(cls, *args, **kwargs) -> Self:
raise NotImplementedError
def __init__(self, x: int) -> None: ...
def __init__(self) -> None: ...
# revealed: ClassWithNewAndInit
reveal_type(accepts_callable(ClassWithNewAndInit)())