Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
[3.6] Remove superfluous comment in urllib.error. (GH-1076)
(cherry picked from commit 6fab78e)
  • Loading branch information
orsenthil authored and Mariatta committed Apr 13, 2017
commit 1c293ecd3020a1850199deec825be74c0525b50c
4 changes: 0 additions & 4 deletions Lib/urllib/error.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,6 @@
__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__.
Expand Down