On Mon, Jan 9, 2012 at 7:35 PM, contro opinion <contropin...@gmail.com> wrote: > code1: > > def FirstDeco(func): > print 'haha' > y=func() > return y > print y
Since there's a `return` right before it, the latter `print` here will *never* be executed. Cheers, Chris -- http://mail.python.org/mailman/listinfo/python-list