cpython/Lib/test/dataclass_textanno.py

11 lines
90 B
Python
Raw Normal View History

import dataclasses
class Foo:
pass
@dataclasses.dataclass
class Bar:
foo: Foo