Skip to content

Instantly share code, notes, and snippets.

@yothinix
Created March 1, 2018 14:43
Show Gist options
  • Save yothinix/7384bbe87fa2d2c4650d4e45c5a525ac to your computer and use it in GitHub Desktop.
Save yothinix/7384bbe87fa2d2c4650d4e45c5a525ac to your computer and use it in GitHub Desktop.
from typing import Type
def do_something(t: Type[SomeClass]) -> SomeClass:
...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment