[Python-Dev] Re: PEP 318 bake-off?
Evan Simpson
evan at 4-am.com
Thu Apr 1 11:47:21 EST 2004
Guido van Rossum wrote:
> 2a) Prefix list with leading *:
>
> *[funcattrs(foo=42), deprecated, overrides, classmethod]
> def foo(cls, arg1, arg2):
> pass
How about adding:
2b) Prefix list with repeated keyword:
def [funcattrs(foo=42), deprecated, overrides, classmethod]
def foo(cls, arg1, arg2):
pass
class [singleton]
class foo:
pass
3a) Prefix suite with repeated keyword:
def:
funcattrs(foo=42)
deprecated, overrides, classmethod
def foo(cls, arg1, arg2):
pass
Cheers,
Evan @ 4-am
More information about the Python-Dev
mailing list