[Python-ideas] Short form for keyword arguments and dicts

Steven D'Aprano steve at pearwood.info
Sun Jun 23 11:21:06 CEST 2013


On 23/06/13 18:22, Anders Hovmöller wrote:

> I think you and I are talking about different things when talking about
> "this problem". For me the problem is to avoid stuff like "foo(1, 'foo',
> None, 9, 'baz')", not avoid repeating names.

Your suggestion doesn't do a thing to avoid code like the above, since all the arguments are literals.


-- 
Steven


More information about the Python-ideas mailing list