-
1.
0Python 3.7 ile gelen "havali" classlar
PEP: https://www.python.org/dev/peps/pep-0557/
Ornek olarak
from dataclasses import dataclass
@dataclass
class Foo:
bar: int
baz: str
f = Foo(31, "Sex")
başlık yok! burası bom boş!