As for syntax; what about coopting/integrating with the function annotation syntax?

so:

def func(args: list, kwargs: attrdict)
and correspondingly in the function call?

a, b:tuple = someiterable?

I guess a rule that interprets every function argument annotated as a subclass of list or dict as a special case would severely restrict its intended use though...
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to