Message5764
If you try to enter following code in the jython shell, you would receive error message, "SyntaxError: mismatched input '<EOF>' expecting CLASS".
def entryExit(f):
def new_f():
print "Entering", f.__name__
f()
print "Exited", f.__name__
return new_f
@entryExit
def func1():
print "inside func1()" |
|
Date |
User |
Action |
Args |
2010-05-09 22:57:05 | hongdatang | set | recipients:
+ hongdatang |
2010-05-09 22:57:04 | hongdatang | set | messageid: <1273445824.91.0.646022675249.issue1609@psf.upfronthosting.co.za> |
2010-05-09 22:57:04 | hongdatang | link | issue1609 messages |
2010-05-09 22:57:03 | hongdatang | create | |
|