On 10 December 2017 at 22:24, Raymond Hettinger <raymond.hettin...@gmail.com > wrote:
> Without typing (only the first currently works): > > Point = namedtuple('Point', ['x', 'y', 'z']) # underlying > store is a tuple > Point = make_dataclass('Point', ['x', 'y', 'z']) # underlying > store is an instance dict > > Hm, I think this is a bug in implementation. The second form should also work. -- Ivan
_______________________________________________ Python-Dev mailing list Python-Dev@python.org https://mail.python.org/mailman/listinfo/python-dev Unsubscribe: https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com