"B Mahoney" wrote: > Decorate any function with @aboutme(), which > will print the function name each time the function is called. > > All the 'hello' stuff is in the aboutme() decorator code. > There is no code in the decorated functions themselves > doing anything to telling us the function name.
so you've moved a trivial print statement from the function itself into a decorator, so you can add an extra line before the function instead of inside it. wow. </F> -- http://mail.python.org/mailman/listinfo/python-list