Message239293
def wrapper(func):
return functools.wraps(func)(functools.partial(func))
^ doesn't that just return something that is completely equivalent to func itself? Where do I put the actual wrapper functionality, i.e. code that is executed with each call to the "new" (wrapped) function? |
|
Date |
User |
Action |
Args |
2015-03-26 00:30:13 | productivememberofsociety666 | set | recipients:
+ productivememberofsociety666, rhettinger, ncoghlan, r.david.murray |
2015-03-26 00:30:12 | productivememberofsociety666 | set | messageid: <1427329812.97.0.0984401545189.issue23764@psf.upfronthosting.co.za> |
2015-03-26 00:30:12 | productivememberofsociety666 | link | issue23764 messages |
2015-03-26 00:30:12 | productivememberofsociety666 | create | |
|