mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-28 04:37:32 +07:00
8 lines
141 B
Python
8 lines
141 B
Python
import dataclasses
|
|
|
|
@dataclasses.dataclass
|
|
class A1:
|
|
x: int = 0
|
|
y: dataclasses.InitVar[int] = 1
|
|
|
|
def __post_init__(self, y: int): |