Skip to content

Instantly share code, notes, and snippets.

@mypy-play
Created April 24, 2024 23:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mypy-play/fd40038dea36aa0e81d8f1073ecd04c7 to your computer and use it in GitHub Desktop.
Save mypy-play/fd40038dea36aa0e81d8f1073ecd04c7 to your computer and use it in GitHub Desktop.
Shared via mypy Playground
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