Possible PEP: Improve classmethod/staticmethod syntax
Lulu of the Lotus-Eaters
mertz at gnosis.cx
Tue Jun 3 18:05:45 EDT 2003
Kevin Smith <Kevin.Smith at sas.com> wrote previously:
|A new proposed syntax for method modifiers is as follows:
| def classmethod foo(cls):
| <code goes here>
| def staticmethod bar():
| <code goes here>
+1
But it needs a PEP.
--
mertz@ _/_/_/_/ THIS MESSAGE WAS BROUGHT TO YOU BY: \_\_\_\_ n o
gnosis _/_/ Postmodern Enterprises \_\_
.cx _/_/ \_\_ d o
_/_/_/ IN A WORLD W/O WALLS, THERE WOULD BE NO GATES \_\_\_ z e
More information about the Python-list
mailing list