<p><span class="h-card" translate="no"><a href="https://mastodon.social/@dabeaz" class="u-url mention">@<span>dabeaz</span></a></span> Also,</p><p>class DC:<br /> def __init_subclass__(cls, **kwargs):<br /> cls = dataclass(cls)<br /> sys.modules[cls.__module__].__dict__[cls.__name__] = cls</p><p>class Point(DC): x: int; y: int</p>