mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-16 14:23:28 +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> |