mirror of
https://github.com/python/cpython.git
synced 2025-11-25 21:11:09 +00:00
Reflow paragraphs.
I know one of them looks worse, but now it is <80 chars and matches the 2.7 text.
This commit is contained in:
parent
5aea37ad1d
commit
9330a94467
2 changed files with 13 additions and 14 deletions
|
|
@ -523,10 +523,10 @@ Proxies
|
|||
|
||||
**urllib** will auto-detect your proxy settings and use those. This is through
|
||||
the ``ProxyHandler``, which is part of the normal handler chain when a proxy
|
||||
setting is detected. Normally that's
|
||||
a good thing, but there are occasions when it may not be helpful [#]_. One way
|
||||
to do this is to setup our own ``ProxyHandler``, with no proxies defined. This
|
||||
is done using similar steps to setting up a `Basic Authentication`_ handler : ::
|
||||
setting is detected. Normally that's a good thing, but there are occasions
|
||||
when it may not be helpful [#]_. One way to do this is to setup our own
|
||||
``ProxyHandler``, with no proxies defined. This is done using similar steps to
|
||||
setting up a `Basic Authentication`_ handler : ::
|
||||
|
||||
>>> proxy_support = urllib.request.ProxyHandler({})
|
||||
>>> opener = urllib.request.build_opener(proxy_support)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue