void () { assertTypeParameterOwner("C.attr", "C.__init__", """ from typing import Generic, TypeVar T = TypeVar('T') T2 = TypeVar('T2') class C(Generic[T]): def __init__(self, p: T2): self.attr: T2 = p """); }