Message133260
I am sorry. This is the first time I see contextlib and haven't understood, that I should use a function from it. Here is a version with mock object having close method and __getitem__ using contextlib.closing. |
|
Date |
User |
Action |
Args |
2011-04-07 21:14:28 | gruszczy | set | recipients:
+ gruszczy, r.david.murray, moyix |
2011-04-07 21:14:28 | gruszczy | set | messageid: <1302210868.35.0.993781826786.issue11767@psf.upfronthosting.co.za> |
2011-04-07 21:14:27 | gruszczy | link | issue11767 messages |
2011-04-07 21:14:27 | gruszczy | create | |
|