PEP 318

Peter Hansen peter at engcorp.com
Mon Mar 22 13:33:08 CET 2004


Stephen Horne wrote:

> On Sun, 21 Mar 2004 17:53:11 +0100, Marco Bubke <marco at bubke.de>
> wrote:
> 
>>are better but still I used to see [] as list
> 
> Surely it *is* a list - a list of modifier functions to apply to the
> original function.

If it's a list, then just as surely a tuple should be allowed in its 
place, as in every (?) other such case in Python that I can think of.
Would that be part of the proposal?  (I haven't read the full PEP, sorry.)

(I know, "foolish consistency is the hobgoblin blah blah..." :-)

-Peter



More information about the Python-list mailing list