[Python-ideas] Namespace creation with syntax short form

Peter Otten __peter__ at web.de
Sat Feb 14 08:44:24 CET 2015


Andrew Barnert wrote:

> How does this help when you started with a 3-tuple and realize you need a
> 4th value, ala stat? Since this is your motivating example, if the
> proposal doesn't help that example, what's the point?

It doesn't help with existing return values, it offers an alternative, 
similar to keyword-only function arguments.



More information about the Python-ideas mailing list