From: Mariatta Date: Thu, 13 Apr 2017 03:45:54 +0000 (-0700) Subject: [3.6] Remove superfluous comment in urllib.error. (GH-1076) (GH-1101) X-Git-Tag: v3.6.2rc1~238 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=bc9025012fc5ae007283e9ef345dba0ba08cf2b9;p=thirdparty%2FPython%2Fcpython.git [3.6] Remove superfluous comment in urllib.error. (GH-1076) (GH-1101) (cherry picked from commit 6fab78e9027f9ebd6414995580781b480433e595) --- diff --git a/Lib/urllib/error.py b/Lib/urllib/error.py index c5b675d16188..851515bc307d 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__.