Skip to content

Commit 072f5ce

Browse files
authored
constructors_callable: fix a type hint in comments
1 parent 953e24d commit 072f5ce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

conformance/tests/constructors_callable.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ def __new__(cls, x: list[T], y: list[T]) -> Self:
179179

180180

181181
r8 = accepts_callable(Class8)
182-
reveal_type(r8) # `def [T] (x: T, y: list[T]) -> Class8[T]`
182+
reveal_type(r8) # `def [T] (x: list[T], y: list[T]) -> Class8[T]`
183183
assert_type(r8([""], [""]), Class8[str])
184184
r8([1], [""]) # E
185185

0 commit comments

Comments
 (0)