decorator with ```
Bernhard Herzog
bh at intevation.de
Thu Aug 12 11:10:46 EDT 2004
Roman Suzi <rnd at onego.ru> writes:
> ```staticmethod```
> def makeDecoratorSyntax(spec=None):
> raise NotImplementedException()
That's already legal Python, although it's not very useful:
>>> ```staticmethod```
'\'"<type \\\'staticmethod\\\'>"\''
>>> def makeDecoratorSyntax(spec=None):
... raise NotImplementedException()
...
>>>
Bernhard
--
Intevation GmbH http://intevation.de/
Skencil http://sketch.sourceforge.net/
Thuban http://thuban.intevation.org/
More information about the Python-list
mailing list