mirror of
https://github.com/python/cpython.git
synced 2025-10-05 14:41:07 +00:00
[3.5] Remove superfluous comment in urllib.error. (GH-1076) (GH-1102)
(cherry picked from commit 6fab78e902
)
This commit is contained in:
parent
72b1d419ac
commit
f3972dd1c1
1 changed files with 0 additions and 4 deletions
|
@ -16,10 +16,6 @@ import urllib.response
|
||||||
__all__ = ['URLError', 'HTTPError', 'ContentTooShortError']
|
__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):
|
class URLError(OSError):
|
||||||
# URLError is a sub-type of OSError, but it doesn't share any of
|
# URLError is a sub-type of OSError, but it doesn't share any of
|
||||||
# the implementation. need to override __init__ and __str__.
|
# the implementation. need to override __init__ and __str__.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue