We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c965a63 commit e54b1a4Copy full SHA for e54b1a4
crates/ty_python_semantic/resources/mdtest/subscript/tuple.md
@@ -212,6 +212,8 @@ def test3(val: tuple[str] | tuple[int] | int):
212
```py
213
from ty_extensions import Intersection, Not
214
215
-def test4(val: Intersection[tuple[str], tuple[int]]):
216
- reveal_type(val[0]) # revealed: str & int
+class Foo: ...
+
217
+def test4(val: Intersection[tuple[str], tuple[Foo]]):
218
+ reveal_type(val[0]) # revealed: str & Foo
219
```
0 commit comments