A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2004-March/042978.html below:

[Python-Dev] Re: PEP 318 - generality of list; restrictions on elements

[Python-Dev] Re: PEP 318 - generality of list; restrictions on elements [Python-Dev] Re: PEP 318 - generality of list; restrictions on elementsTerry Reedy tjreedy at udel.edu
Mon Mar 8 17:34:26 EST 2004
"Jeff Epler" <jepler at unpythonic.net> wrote in message
news:20040308212953.GE12662 at unpythonic.net...
> In the suggested syntaxes, the modifiers are not a list.  There's no
> list here:
>     >>> def f() [wrapper]: pass
> just like there's no tuple* in either of these (or the above):
>     >>> def f(x, y): pass
>     >>> class C(A, B): pass
> and you can't just say
>     >>> s1 = (x, y)
>     >>> def f s1: pass
> or
>     >>> s2 = (A, B)
>     >>> class C s2: pass

There is also no tuple here: print a,b,c,  (nor any rotation in print >>
fff).

tjr




More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4