Skip to content

Instantly share code, notes, and snippets.

@kunigami
Created December 26, 2019 03:29
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 kunigami/80855c99181bd43daa14f11803e5c08d to your computer and use it in GitHub Desktop.
Save kunigami/80855c99181bd43daa14f11803e5c08d to your computer and use it in GitHub Desktop.
def ready(s: str) -> NoReturn:
print('implemented')
# error: implicit return
def not_ready(s: str) -> NoReturn:
print('not implemented')
raise # ok: always throws
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment