[Python-Dev] PEP 318 - function/method/class decoration (original) (raw)
Greg Ewing greg at cosc.canterbury.ac.nz
Sun Mar 7 18:27:04 EST 2004
- Previous message: [Python-Dev] PEP 318 - function/method/class decoration
- Next message: [Python-Dev] PEP 318 - function/method/class decoration
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
This proposed new syntax is:
funcdef: 'def' NAME parameters ['[' exprlist ']' ] ':' suite classdef: 'class' NAME ['(' testlist ')'] ['[' exprlist ']'] ':' suite
+1
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] PEP 318 - function/method/class decoration
- Next message: [Python-Dev] PEP 318 - function/method/class decoration
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]