Pablo Galindo Salgado <[email protected]> added the comment: Thanks for reporting this issue. Indeed, this is an error in the documentation. Notice that this is corrected in Python3 's version:
https://docs.python.org/3.6/howto/urllib2.html#handling-exceptions I have prepared a Pull Request fixing this. Thanks! ---------- nosy: +pablogsal priority: normal -> low _______________________________________ Python tracker <[email protected]> <https://bugs.python.org/issue32586> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
