Change class and module objects to lazy-create empty annotations dicts on demand. The annotations dicts are stored in the object's `__dict__` for backwards compatibility.
6 lines
81 B
Python
6 lines
81 B
Python
# This ann_module isn't for test_typing,
|
|
# it's for test_module
|
|
|
|
a:int=3
|
|
b:str=4
|