We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6dfcc81 commit 6fab78eCopy full SHA for 6fab78e
Lib/urllib/error.py
@@ -16,10 +16,6 @@
16
__all__ = ['URLError', 'HTTPError', 'ContentTooShortError']
17
18
19
-# do these error classes make sense?
20
-# make sure all of the OSError stuff is overridden. we just want to be
21
-# subtypes.
22
-
23
class URLError(OSError):
24
# URLError is a sub-type of OSError, but it doesn't share any of
25
# the implementation. need to override __init__ and __str__.
0 commit comments