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.
attributes.md
1 parent 20510e1 commit 81c1d36Copy full SHA for 81c1d36
crates/ty_python_semantic/resources/mdtest/attributes.md
@@ -2476,10 +2476,7 @@ class NestedMixed:
2476
def g(self: "NestedMixed"):
2477
self.x = {self.x}
2478
2479
- def h(self: "NestedMixed"):
2480
- self.x = {"a": self.x}
2481
-
2482
-reveal_type(NestedMixed().x) # revealed: Unknown | list[Divergent] | set[Divergent] | dict[Unknown | str, Divergent]
+reveal_type(NestedMixed().x) # revealed: Unknown | list[Divergent] | set[Divergent]
2483
```
2484
2485
And cases where the types originate from annotations:
0 commit comments