[issue43835] Dataclasses don't call base class __init__

Paul Pinterits report at bugs.python.org
Wed Apr 14 03:42:03 EDT 2021


Paul Pinterits <rawing7 at gmail.com> added the comment:

No, I'm saying Bar should initialize the 'bar' attribute, and then call Foo.__init__ to let it initialize the 'foo' attribute.

----------

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


More information about the Python-bugs-list mailing list