Created
April 24, 2024 23:21
-
-
Save mypy-play/fd40038dea36aa0e81d8f1073ecd04c7 to your computer and use it in GitHub Desktop.
Shared via mypy Playground
This file contains 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
import typing | |
def f() -> typing.Annotated[int, "this is da' sh..."]: | |
return 0 | |
x: int = f() | |
reveal_type(f()) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment