Voting (was Re: PEP 318
artur_spruce at yahoo.com
Wed Mar 24 09:39:22 CET 2004
Ville Vainio <ville at spammers.com> wrote:
> FWIW, I prefer
> def f(x,y) [wrapper,wrapper...]:
> def f(x,y) as iterable:
> and would oppose
> def f [wrapper, wrapper...] (x,y):
> Like others, I want to see the param list right next to the function
I like the "as iterable" form much better than any other. The "as"
word says immediately what it means.
Also, since in some situations tuples are written without parens ("a,
b, c = three_elem_tuple"), you could allow for:
def f(x, y) as decor1, decor2, decor3:
More information about the Python-list