PEP 318 - Function Modifier Syntax
Roman Suzi
rnd at onego.ru
Mon Jun 9 23:56:28 EDT 2003
On Mon, 9 Jun 2003, Erik Max Francis wrote:
>Kevin Smith wrote:
>
>> def foo(self) as synchronized(lock), classmethod:
>> """ Gerrit Holl syntax """
>> perform method operation
>
>I strongly prefer this syntax, still from the first time it got brought
>up and I commented on it.
the syntax is confusing, because "as" already has a meaning of
"to be known as":
import string as s
from string import split as sp
Sincerely yours, Roman Suzi
--
rnd at onego.ru =\= My AI powered by GNU/Linux RedHat 7.3
More information about the Python-list
mailing list