[Python-Dev] Re: decorators and 2.4

Greg Ewing greg at cosc.canterbury.ac.nz
Fri Jun 25 00:07:52 EDT 2004


David Abrahams <dave at boost-consulting.com>:

> You can go on introduce various syntactic abominations using the
> special operator methods without actually changing the language
> syntax, too.
>
> ...

  +staticmethod
  +foodstyle(sandwich)
  def eject(tomato):
    ...

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