I'd presume this question has been asked before, but I can't find anything about it. So here goes...
I'm looking for a way to type hint/docstring class instance attributes.
def __init__(self, name):
@param name: Name of the person.
@type name: str
self.name = name
This will give me help when creating objects. , like:
p = Person("John")
But accessing the instance attribute name of the object does not give any help. Any clues?