1 2 3 4 5 6 7 8 9 10 11 12 13
import typing x: typing.Any def f(x: int, y: int) -> int: ... class C: x: int y: int def __init__(self, x: int): ... def f(self, x: int) -> int: ... def g[T: C](x: T) -> T: ...