R. David Murray added the comment: Looks like the example wasn't updated during the python3 transition.
As long as we are changing it, we might as well make it use the file as a context manager. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue23511> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com