from typing import Callable, List #: A list of int T = List[int] C = Callable[[int], None] # a generic alias not having a doccomment class Class: #: A list of int T = List[int] #: A list of Class L = List[Class]