Skip to content

Instantly share code, notes, and snippets.

@yothinix
Created March 1, 2018 14:29
Show Gist options
  • Save yothinix/ddb8d7df15e9a181c380e523455caf02 to your computer and use it in GitHub Desktop.
Save yothinix/ddb8d7df15e9a181c380e523455caf02 to your computer and use it in GitHub Desktop.
from typing import TypeVar
T = TypeVar('T')
def f(s: T) -> T:
...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment