Y
Hacker News
new
|
ask
|
show
|
jobs
by
ReflectedImage
596 days ago
That's what a class is for.
1 comments
Spivak
596 days ago
Right but that's @dataclass. Being a replacement for classes in commonly used situations is one of its design goals.
link