Stéphane Wirtel <[email protected]> added the comment:

You can also use a context manager and the `with` statement.

----------
nosy: +matrixise

_______________________________________
Python tracker <[email protected]>
<https://bugs.python.org/issue34332>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to