Skip to content

Instantly share code, notes, and snippets.

@yothinix
Created March 1, 2018 15:04
Show Gist options
  • Save yothinix/6461062ab5a98640168c9bb3bf07d126 to your computer and use it in GitHub Desktop.
Save yothinix/6461062ab5a98640168c9bb3bf07d126 to your computer and use it in GitHub Desktop.
def f(l: List[str]) -> None:
s = l.pop() # reveal_type(s) -> str
def g(message: str = None) -> None:
if message is None:
return
reveal_type(message) # -> str
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment