@@ -37,20 +37,20 @@ The :mod:`urllib.request` module defines the following functions:
3737 * :meth: `geturl ` --- return the URL of the resource retrieved, commonly used to
3838 determine if a redirect was followed
3939
40- * :meth: `info ` --- return the meta-information of the page, such as headers, in
41- the form of an ``http.client.HTTPMessage `` instance
42- (see ` Quick Reference to HTTP Headers <http://www.cs.tut.fi/~jkorpela/http.html >`_)
40+ * :meth: `info ` --- return the meta-information of the page, such as headers,
41+ in the form of an ``http.client.HTTPMessage `` instance (see ` Quick
42+ Reference to HTTP Headers <http://www.cs.tut.fi/~jkorpela/http.html> `_)
4343
4444 Raises :exc: `URLError ` on errors.
4545
46- Note that ``None `` may be returned if no handler handles the request (though the
47- default installed global :class: `OpenerDirector ` uses :class: ` UnknownHandler ` to
48- ensure this never happens).
49- The urlopen function from the previous version, Python 2.6 and earlier, of
50- the module urllib has been discontinued as urlopen can return the
51- file-object as the previous. The proxy handling, which in earlier was passed
52- as a dict parameter to urlopen can be availed by the use of
53- :class: `ProxyHandler ` objects.
46+ Note that ``None `` may be returned if no handler handles the request (though
47+ the default installed global :class: `OpenerDirector ` uses
48+ :class: ` UnknownHandler ` to ensure this never happens).
49+
50+ The legacy `` urllib.urlopen `` function from Python 2.6 and earlier has been
51+ discontinued; :func: ` urlopen ` corresponds to the old `` urllib2.urlopen ``.
52+ Proxy handling, which was done by passing a dictionary parameter to
53+ `` urllib.urlopen ``, can be obtained by using :class: `ProxyHandler ` objects.
5454
5555
5656.. function :: install_opener(opener)
0 commit comments