Re:The Elements of Python Style
by shoyer on Monday January 04, 2016 @05:22PM
(#10839182)
Even better (with Python 3.5 or newer):
More generally, context managers are the right way to refactor repeated try/except/finally clauses.
[ Parent
| on HN ]