[Python-Dev] PEP 318: Decorators last before colon
Skip Montanaro
skip at pobox.com
Wed Mar 31 16:44:44 EST 2004
>> Yeah, this is also going to now have to be a special case for
>> documentation processing tools.
Guido> I hadn't thought of those, but the new situation can't be worse
Guido> than before (decorations following the 'def').
Except for the fact that when colorizing
[d1, d2]
def func(a,b,c):
pass
"[d1, d2]" should probably not be colored the way other lists are because
semantically it's not just a list that gets discarded.
Skip
More information about the Python-Dev
mailing list