Alexander Liu added the comment: Fixed the docs to specifically note that only protocol related errors raise the UrlError exception.
---------- nosy: +alex_thebear versions: +Python 3.6 -Python 3.4 Added file: http://bugs.python.org/file43131/urlopen_doc.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue22797> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com