Chaim Gewirtz <[email protected]> added the comment:
To clarify, this is how it's being done now a dozen times in actual production
code:
class Child(Parent):
@overload foo(a, b): ...
def overload(**kwargs):
return super().foo(**kwargs)
The goal of this proposed enhancement is to remove two extra lines of code per
Child class.
----------
_______________________________________
Python tracker <[email protected]>
<https://bugs.python.org/issue42812>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com