mirror of
https://github.com/python/cpython.git
synced 2025-09-26 18:29:57 +00:00
Remove invalid comment in urllib.request. (#1054)
This commit is contained in:
parent
45d22c256b
commit
a2a9ddd923
1 changed files with 2 additions and 6 deletions
|
@ -1657,14 +1657,10 @@ else:
|
||||||
of the 'file' scheme; not recommended for general use."""
|
of the 'file' scheme; not recommended for general use."""
|
||||||
return quote(pathname)
|
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 = {}
|
ftpcache = {}
|
||||||
|
|
||||||
|
|
||||||
class URLopener:
|
class URLopener:
|
||||||
"""Class to open URLs.
|
"""Class to open URLs.
|
||||||
This is a class rather than just a subroutine because we may need
|
This is a class rather than just a subroutine because we may need
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue