summaryrefslogtreecommitdiffstats
path: root/Lib/urllib
diff options
context:
space:
mode:
authorSenthil Kumaran <skumaran@gatech.edu>2017-04-09 06:27:25 (GMT)
committerGitHub <noreply@github.com>2017-04-09 06:27:25 (GMT)
commita2a9ddd923a849124bdd1c484f70f02df6fde0e9 (patch)
tree69906348ca0bd210ea2664aa554017edca2c1eee /Lib/urllib
parent45d22c256bce3afcf57f49032a6b20fdec4f26ad (diff)
downloadcpython-a2a9ddd923a849124bdd1c484f70f02df6fde0e9.zip
cpython-a2a9ddd923a849124bdd1c484f70f02df6fde0e9.tar.gz
cpython-a2a9ddd923a849124bdd1c484f70f02df6fde0e9.tar.bz2
Remove invalid comment in urllib.request. (#1054)
Diffstat (limited to 'Lib/urllib')
-rw-r--r--Lib/urllib/request.py8
1 files changed, 2 insertions, 6 deletions
diff --git a/Lib/urllib/request.py b/Lib/urllib/request.py
index 0a9fdf9..b832fc9 100644
--- a/Lib/urllib/request.py
+++ b/Lib/urllib/request.py
@@ -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