Skip to content

Instantly share code, notes, and snippets.

@kunigami
Last active December 26, 2019 17:18
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/feb92c80c29028ec03fb68f542b9b4c6 to your computer and use it in GitHub Desktop.
Save kunigami/feb92c80c29028ec03fb68f542b9b4c6 to your computer and use it in GitHub Desktop.
from typing import List, Dict, Tuple
def list() -> List[int]:
return [1, 2, 3]
def dict() -> Dict[str, int]:
return {'a': 1, 'b': 2}
def tuple() -> Tuple[int, str]:
return (1, 'a')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment