mirror of
https://github.com/python/cpython.git
synced 2025-08-03 08:34:29 +00:00
[Bug #1194249] Fix duplicate assignment in example code
This commit is contained in:
parent
da85a90808
commit
597bd60ef1
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue