Remove invalid comment in urllib.request. (#1054)

This commit is contained in:
Senthil Kumaran 2017-04-08 23:27:25 -07:00 committed by GitHub
parent 45d22c256b
commit a2a9ddd923
1 changed files with 2 additions and 6 deletions

View File

@ -1657,14 +1657,10 @@ else:
of the 'file' scheme; not recommended for general use."""
return quote(pathname)
# This really consists of two pieces:
# (1) a class which handles opening of all sorts of URLs
# (plus assorted utilities etc.)
# (2) a set of functions for parsing URLs
# XXX Should these be separated out into different modules?
ftpcache = {}
class URLopener:
"""Class to open URLs.
This is a class rather than just a subroutine because we may need