Message109835
> this change is just syntactic sugar for
> any construct of the following form:
>
> def f():
> with cm():
> # Do stuff
>
> ContextDecorator lets you instead write:
>
> @cm
> def f():
> # Do stuff
Nicely expressed. This ought to go directly into the documentation. |
|
Date |
User |
Action |
Args |
2010-07-10 09:00:54 | rhettinger | set | recipients:
+ rhettinger, ncoghlan, jackdied, michael.foord |
2010-07-10 09:00:54 | rhettinger | set | messageid: <1278752454.05.0.624640250926.issue9110@psf.upfronthosting.co.za> |
2010-07-10 09:00:52 | rhettinger | link | issue9110 messages |
2010-07-10 09:00:51 | rhettinger | create | |
|