Message6528
It seems that function descriptors don't work correctly in interactive console; invoke the script on the cmdline works fine.
~$ jython
Jython 2.5.2 (Release_2_5_2:7206, Mar 2 2011, 23:12:06)
[OpenJDK 64-Bit Server VM (Sun Microsystems Inc.)] on java1.6.0_20
Type "help", "copyright", "credits" or "license" for more information.
>>> class K(object):
... @staticmethod
File "<stdin>", line 2
@staticmethod
^
SyntaxError: mismatched input '' expecting CLASS |
|
Date |
User |
Action |
Args |
2011-05-26 08:10:27 | hyao | set | recipients:
+ hyao |
2011-05-26 08:10:27 | hyao | set | messageid: <1306397427.21.0.896787422498.issue1749@psf.upfronthosting.co.za> |
2011-05-26 08:10:27 | hyao | link | issue1749 messages |
2011-05-26 08:10:26 | hyao | create | |
|