May 14, 2021
5:06 p.m.
Raymond Hettinger <raymond.hettinger@gmail.com> added the comment:
Thoughts from others?
As it stands, the Point class is weird and atypical by only using class variables. The example would be improved by adding @dataclass or inheriting from typing.NamedTuple. ---------- nosy: +rhettinger _______________________________________ Python tracker <report@bugs.python.org> <https://bugs.python.org/issue44109> _______________________________________