diff options
author | Georg Brandl <georg@python.org> | 2011-07-23 06:06:00 (GMT) |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2011-07-23 06:06:00 (GMT) |
commit | deb852db71dbe3f0b6928db94f74608ab7bfb8fb (patch) | |
tree | 2182bb891d1b68568f3a36d8599dac7e04d88259 /Doc/howto | |
parent | d11c3e32c52e3348fe509abb63287f7b195b2de5 (diff) | |
parent | 06ad13ee7c408d964d716e62600e4665ed912a54 (diff) | |
download | cpython-deb852db71dbe3f0b6928db94f74608ab7bfb8fb.zip cpython-deb852db71dbe3f0b6928db94f74608ab7bfb8fb.tar.gz cpython-deb852db71dbe3f0b6928db94f74608ab7bfb8fb.tar.bz2 |
Merge 3.2 branch.
Diffstat (limited to 'Doc/howto')
-rw-r--r-- | Doc/howto/urllib2.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/howto/urllib2.rst b/Doc/howto/urllib2.rst index 110b6de..76286bd 100644 --- a/Doc/howto/urllib2.rst +++ b/Doc/howto/urllib2.rst @@ -140,7 +140,7 @@ This is done as follows:: name=Somebody+Here&language=Python&location=Northampton >>> url = 'http://www.example.com/example.cgi' >>> 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 the encoded values. |