[issue23511] Broken code example in email module documentation

Baptiste Mispelon report at bugs.python.org
Wed Feb 25 15:05:44 CET 2015


Baptiste Mispelon added the comment:

I wasn't sure if that was going to be out of scope or not.

Here's an attached patch that fixes the remaining usages of `open` inside `Doc/includes` to always use a context manager.

----------
Added file: http://bugs.python.org/file38233/issue23511_open_cm.diff

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue23511>
_______________________________________


More information about the Python-bugs-list mailing list