Re:Python Best Practice Patterns
by ajtulloch on Friday February 28, 2014 @12:02PM
(#7319950)
For simple context managers, an easier method is to use contextlib.contextmanager (http://docs.python.org/library/contextlib.html).
[ Parent
| on HN ]
There are no comments on this comment yet.