Eric V. Smith <e...@trueblade.com> added the comment:
It would figure it out automatically. See https://github.com/ericvsmith/dataclasses/blob/master/dataclass_tools.py for a decorator that already does this. I'll have a PR ready soon, I hope. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue42269> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com