diff options
author | Senthil Kumaran <skumaran@gatech.edu> | 2017-04-09 17:14:48 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-04-09 17:14:48 (GMT) |
commit | d4489da36044b554921d6c566ed3c9f1013cb97e (patch) | |
tree | aab62fd4228a42209bafed720eb99be498b4415f /Lib/urllib/request.py | |
parent | bd18351c31573ab9a8580677004370a774a4eaae (diff) | |
download | cpython-d4489da36044b554921d6c566ed3c9f1013cb97e.zip cpython-d4489da36044b554921d6c566ed3c9f1013cb97e.tar.gz cpython-d4489da36044b554921d6c566ed3c9f1013cb97e.tar.bz2 |
Remove invalid comment in urllib.request.(#1056)
(cherry picked from commit a2a9ddd923a849124bdd1c484f70f02df6fde0e9)
Diffstat (limited to 'Lib/urllib/request.py')
-rw-r--r-- | Lib/urllib/request.py | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/Lib/urllib/request.py b/Lib/urllib/request.py index a46c689..0cd0333 100644 --- a/Lib/urllib/request.py +++ b/Lib/urllib/request.py @@ -1594,14 +1594,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 |