Message390465
I assume the OP wants to have a class that doesn't allow positional patterns. The right way to spell that is indeed to add __match_args__ = () to the class, there's no need to add another flag to @dataclass. | |
| Date | User | Action | Args | | 2021-04-07 18:35:59 | gvanrossum | set | recipients: + gvanrossum, eric.smith, brandtbucher, freundTech | | 2021-04-07 18:35:59 | gvanrossum | set | messageid: <1617820559.82.0.698503048764.issue43764@roundup.psfhosted.org> | | 2021-04-07 18:35:59 | gvanrossum | link | issue43764 messages | | 2021-04-07 18:35:59 | gvanrossum | create | | |