Fix CallableTypeOf display signature (#17235)

This commit is contained in:
Matthew Mckee
2025-04-06 18:12:52 +01:00
committed by GitHub
parent 3dd6d0a422
commit 73a9974d8a
3 changed files with 12 additions and 3 deletions

View File

@@ -453,6 +453,5 @@ def _(
# TODO: should be `(x: int) -> Foo`
reveal_type(c4) # revealed: (...) -> Foo
# TODO: `self` is bound here; this should probably be `(x: int) -> str`?
reveal_type(c5) # revealed: (self, x: int) -> str
reveal_type(c5) # revealed: (x: int) -> str
```