Here is an example from the pandas package:
class NDFrameIndexerBase(Generic[_IndexingMixinT]):
name: str
# in practice obj is either a DataFrame or a Series
obj: _IndexingMixinT
def __init__(self, name: str, obj: _IndexingMixinT) -> None: ...
@property
def ndim(self) -> int: ...
I get -> returns none, and I get list[“str”,…] means list of arbitrary amounts of strings, but this doesn’t make sense for None or Int