From: Mariatta Date: Thu, 13 Apr 2017 03:46:07 +0000 (-0700) Subject: [3.5] Remove superfluous comment in urllib.error. (GH-1076) (GH-1102) X-Git-Tag: v3.5.4rc1~218 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f3972dd1c1c514ed26bb8139b59b649fa7983743;p=python [3.5] Remove superfluous comment in urllib.error. (GH-1076) (GH-1102) (cherry picked from commit 6fab78e9027f9ebd6414995580781b480433e595) --- diff --git a/Lib/urllib/error.py b/Lib/urllib/error.py index c5b675d161..851515bc30 100644 --- a/Lib/urllib/error.py +++ b/Lib/urllib/error.py @@ -16,10 +16,6 @@ import urllib.response __all__ = ['URLError', 'HTTPError', 'ContentTooShortError'] -# do these error classes make sense? -# make sure all of the OSError stuff is overridden. we just want to be -# subtypes. - class URLError(OSError): # URLError is a sub-type of OSError, but it doesn't share any of # the implementation. need to override __init__ and __str__.