<p><span class="h-card" translate="no"><a href="https://mastodon.social/@dabeaz" class="u-url mention">@<span>dabeaz</span></a></span> It’s baffling that </p><p>class Point(dataclass): x: int; y: int;<br />or<br />class Point(metaclass=dataclass): x: int; y: int;</p><p>doesn’t work. Isn’t that the point of subtyping or submetatyping?</p>
Reply