if i do something like this:
def f(x: str):
pass
i can easily see this type hint for x
if i do:
print(f.__annotations__)
however, i can't seem to figure out where the annotations live if i do something like this:
class C:
def __init__(self):
self.where_is_this_vars_annotation_stored: int = 4
does anyone know which __annotations__
dict contains where_is_this_vars_annotation_stored
's type hint?