mirror of
https://github.com/python/cpython.git
synced 2024-11-26 03:14:27 +08:00
Remove superfluous comment in urllib.error. (#1076)
This commit is contained in:
parent
6dfcc81f6b
commit
6fab78e902
@ -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__.
|
||||
|
Loading…
Reference in New Issue
Block a user