[Python-Dev] Re: Python-Dev Digest, Vol 9, Issue 17

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


Isaac <ishnigarrab at earthlink.net>:

>    'def' NAME '(' [validator ':'] v_name ',' ... ')' ':' suite
>
>    def ret_type : 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