Closed GoogleCodeExporter closed 9 years ago
For that to work patch would have to do frame introspection to work out where
it is being called from, and I really dislike hackery like that.
Instead you can do:
@patch('%s.thing' % __name__)
This has the same effect as your proposed feature, without the hackery.
Original comment by fuzzyman
on 27 Mar 2012 at 1:08
Original issue reported on code.google.com by
msm...@gmail.com
on 27 Mar 2012 at 12:27