[Python-Dev] Re: Decorators: vertical bar syntax
Greg Ewing
greg at cosc.canterbury.ac.nz
Mon Aug 9 04:12:49 CEST 2004
Terry Reedy <tjreedy at udel.edu>:
> Is a space allowed after the prefic character, whatever it might be? With
>
> def foo():
> | classmethod
> | accepts(int,int)
> | returns(float)
It certainly looks much better with the space. But I'm
not sure if it should be required -- it would be a strange
kind of rule, inconsistent with the lexical style of the
rest of the language.
Greg Ewing, Computer Science Dept, +--------------------------------------+
University of Canterbury, | A citizen of NewZealandCorp, a |
Christchurch, New Zealand | wholly-owned subsidiary of USA Inc. |
greg at cosc.canterbury.ac.nz +--------------------------------------+
More information about the Python-Dev
mailing list