Created
May 2, 2025 00:37
-
-
Save mypy-play/47197ec11f54e5c4c1f9734ebd0266f2 to your computer and use it in GitHub Desktop.
Shared via mypy Playground
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Foo = dict[str, "Foo"] | |
def f(x: Foo): | |
reveal_type(x) | |
reveal_type(x["a"]) | |
reveal_type(x["a"]["a"]) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment