Skip to content

Instantly share code, notes, and snippets.

@kunigami

kunigami/incorrect.py

Last active Dec 26, 2019
Embed
What would you like to do?
def expects_string(a: str):
return a
def expects_int(a: int) -> int:
return a + 1
def main():
untyped = expects_string('a')
expects_int(untyped)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.