From 08d882925f6615b64fbe2ba3789699a51b158525 Mon Sep 17 00:00:00 2001 From: Senthil Kumaran Date: Sat, 8 Apr 2017 22:06:03 -0700 Subject: [PATCH] Remove invalid comment in urllib.request. --- Lib/urllib/request.py | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/Lib/urllib/request.py b/Lib/urllib/request.py index 0a9fdf92bf249e..b832fc9b2d8aa0 100644 --- a/Lib/urllib/request.py +++ b/Lib/urllib/request.py @@ -1657,14 +1657,10 @@ def pathname2url(pathname): 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