Chaim Gewirtz <[email protected]> added the comment:
Thanks for your perspective.
To summarize here is how my proposed enhancement might look in practice:
class Parent:
def foo(self, **kwargs):
"""Argument names of foo vary depending on the child class."""
class Child(Parent):
@overload
def foo(self, a, b):
pass
----------
_______________________________________
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