On 25/04/17 22:15, Brice PARENT wrote:
it may be easier to get something like this
(I think, as there is no new operator involved) :
No new operator, but still a syntax change, so that doesn't help from
that POV.
def __init__(self, *args, **kwargs):
self.* = *args
self.** = **kwargs
What is "self.* = *args" supposed to do? For each positional argument,
what name in the object is it bound to?
E.
_______________________________________________
Python-ideas mailing list
[email protected]
https://mail.python.org/mailman/listinfo/python-ideas
Code of Conduct: http://python.org/psf/codeofconduct/