[Python-Dev] Re: Decorators: vertical bar syntax
Greg Ewing
greg at cosc.canterbury.ac.nz
Mon Aug 9 04:12:49 CEST 2004
More information about the Python-Dev mailing list
Mon Aug 9 04:12:49 CEST 2004
- Previous message: [Python-Dev] Re: Decorators: vertical bar syntax
- Next message: [Python-Dev] Decorators: vertical bar syntax
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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 +--------------------------------------+
- Previous message: [Python-Dev] Re: Decorators: vertical bar syntax
- Next message: [Python-Dev] Decorators: vertical bar syntax
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-Dev mailing list