[Python-Dev] Re: Python-Dev Digest, Vol 9, Issue 17 (original) (raw)

Greg Ewing greg at cosc.canterbury.ac.nz
Mon Apr 5 22:25:18 EDT 2004


Isaac <ishnigarrab at earthlink.net>:

'def' NAME '(' [validator ':'] vname ',' ... ')' ':' suite

def rettype : func(arg, arg, ...): pass

That would be repeating C's mistake of putting the type info in front of the name being declared.

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