There was a copy-and-paste error with my last message. Better try this
for foobar.py:

def foo(f):
    print "called foo"
    return 'some text'
@foo
def bar():
    print "called bar"


-- 
Soni Bergraj
http://www.YouJoy.org/
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to