mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-04 00:20:55 +07:00
10 lines
109 B
Python
10 lines
109 B
Python
from dataclasses import *
|
|
|
|
|
|
@dataclass(eq=True)
|
|
class Foo:
|
|
foo: int
|
|
|
|
|
|
print(Foo(foo=42))
|
|
# <ref> |