mirror of
https://github.com/python/cpython.git
synced 2025-11-12 15:09:14 +00:00
Merge 3.2 branch.
This commit is contained in:
commit
deb852db71
1 changed files with 1 additions and 1 deletions
|
|
@ -140,7 +140,7 @@ This is done as follows::
|
||||||
name=Somebody+Here&language=Python&location=Northampton
|
name=Somebody+Here&language=Python&location=Northampton
|
||||||
>>> url = 'http://www.example.com/example.cgi'
|
>>> url = 'http://www.example.com/example.cgi'
|
||||||
>>> full_url = url + '?' + url_values
|
>>> full_url = url + '?' + url_values
|
||||||
>>> data = urllib.request.open(full_url)
|
>>> data = urllib.request.urlopen(full_url)
|
||||||
|
|
||||||
Notice that the full URL is created by adding a ``?`` to the URL, followed by
|
Notice that the full URL is created by adding a ``?`` to the URL, followed by
|
||||||
the encoded values.
|
the encoded values.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue