[issue39300] dataclasses non-default argument follows default argument
lijok
report at bugs.python.org
Sat Jan 11 02:13:46 EST 2020
lijok <egecas at live.co.uk> added the comment:
> I think this is a combination of the above statement at end of [0] and inheritance following the order of the fields at [1]
Ah, I see, so if I understand correctly the init method for the example given would become __init__(self, PARAM: int = 1, ARG: int) since the fields are kept in an ordered mapping
Thank you
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue39300>
_______________________________________
More information about the Python-bugs-list
mailing list