When I have a class like this:
or the legacy-syntax equivalent:
from typing import TypeVar, Generic
T = TypeVar("T")
class MyGeneric(Generic[T]):
...
"T" is a variable bound in the scope of MyGeneric, which needs documenting as much as any @param or @ivar does. I would suggest @tvar to describe a type variable?
When I have a class like this:
or the legacy-syntax equivalent:
"
T" is a variable bound in the scope ofMyGeneric, which needs documenting as much as any@paramor@ivardoes. I would suggest@tvarto describe a type variable?