mirror of https://github.com/python/cpython
[Bug #1194249] Fix duplicate assignment in example code
This commit is contained in:
parent
da85a90808
commit
597bd60ef1
|
@ -97,7 +97,7 @@ settings to be used as discussed above. For example:
|
|||
|
||||
\begin{verbatim}
|
||||
# Use http://www.someproxy.com:3128 for http proxying
|
||||
proxies = proxies={'http': 'http://www.someproxy.com:3128'}
|
||||
proxies = {'http': 'http://www.someproxy.com:3128'}
|
||||
filehandle = urllib.urlopen(some_url, proxies=proxies)
|
||||
# Don't use any proxies
|
||||
filehandle = urllib.urlopen(some_url, proxies={})
|
||||
|
|
Loading…
Reference in New Issue