mirror of
https://github.com/python/cpython
synced 2026-09-27 08:38:59 +03:00
This reverts commits044a1048caand1be456ae9d, adapting the code to changes that happened after it.
12 lines
126 B
Python
12 lines
126 B
Python
from __future__ import annotations
|
|
|
|
import dataclasses
|
|
|
|
|
|
class Foo:
|
|
pass
|
|
|
|
|
|
@dataclasses.dataclass
|
|
class Bar:
|
|
foo: Foo
|