summaryrefslogtreecommitdiffstats
path: root/Lib/urllib
diff options
context:
space:
mode:
authorMariatta <Mariatta@users.noreply.github.com>2017-04-13 03:45:54 (GMT)
committerGitHub <noreply@github.com>2017-04-13 03:45:54 (GMT)
commitbc9025012fc5ae007283e9ef345dba0ba08cf2b9 (patch)
treee1fd280b9ac96adf7c85e87b4740b1dfb7be21e6 /Lib/urllib
parent14944c62300f741488c2f28cb91ad1e3fef7343b (diff)
downloadcpython-bc9025012fc5ae007283e9ef345dba0ba08cf2b9.zip
cpython-bc9025012fc5ae007283e9ef345dba0ba08cf2b9.tar.gz
cpython-bc9025012fc5ae007283e9ef345dba0ba08cf2b9.tar.bz2
[3.6] Remove superfluous comment in urllib.error. (GH-1076) (GH-1101)
(cherry picked from commit 6fab78e9027f9ebd6414995580781b480433e595)
Diffstat (limited to 'Lib/urllib')
-rw-r--r--Lib/urllib/error.py4
1 files changed, 0 insertions, 4 deletions
diff --git a/Lib/urllib/error.py b/Lib/urllib/error.py
index c5b675d..851515b 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__.