[Python-Dev] PEP 318 bake-off?

Shane Hathaway shane at zope.com
Thu Apr 1 18:54:11 EST 2004


Guido van Rossum wrote:
> 1) Last-before-colon:
> 
>    def foo(cls, arg1, arg2) [funcattrs(foo=42), deprecated,
>                              overrides, classmethod]:
>        pass
> 
> 2) Prefix list:
> 
>    [funcattrs(foo=42), deprecated, overrides, classmethod]
>    def foo(cls, arg1, arg2):
>        pass

I bet most of us who prefer #2 would be just as happy with #1.  Am I right?

Shane



More information about the Python-Dev mailing list