[issue44109] missing dataclass decorator in match-statement example

Eric V. Smith report at bugs.python.org
Mon May 17 10:23:54 EDT 2021


Eric V. Smith <eric at trueblade.com> added the comment:

I agree with Raymond: a more useful example would use dataclasses or typing.NamedTuple. The use of class variables is unusual, and it took me a while to understand how it would work.

----------
nosy: +eric.smith

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue44109>
_______________________________________


More information about the Python-bugs-list mailing list