Skip to content

Commit a2a9ddd

Browse files
authored
Remove invalid comment in urllib.request. (#1054)
1 parent 45d22c2 commit a2a9ddd

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

Lib/urllib/request.py

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1657,14 +1657,10 @@ def pathname2url(pathname):
16571657
of the 'file' scheme; not recommended for general use."""
16581658
return quote(pathname)
16591659

1660-
# This really consists of two pieces:
1661-
# (1) a class which handles opening of all sorts of URLs
1662-
# (plus assorted utilities etc.)
1663-
# (2) a set of functions for parsing URLs
1664-
# XXX Should these be separated out into different modules?
1665-
16661660

16671661
ftpcache = {}
1662+
1663+
16681664
class URLopener:
16691665
"""Class to open URLs.
16701666
This is a class rather than just a subroutine because we may need

0 commit comments

Comments
 (0)