[Python-checkins] cpython (merge 3.2 -> default): Merge 3.2 branch.
georg.brandl
python-checkins at python.org
Sat Jul 23 08:05:51 CEST 2011
http://hg.python.org/cpython/rev/1053d094e346
changeset: 71468:1053d094e346
parent: 71466:e9d0503a2113
parent: 71467:b28cb14edf89
user: Georg Brandl <georg at python.org>
date: Sat Jul 23 08:06:00 2011 +0200
summary:
Merge 3.2 branch.
files:
Doc/howto/urllib2.rst | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/Doc/howto/urllib2.rst b/Doc/howto/urllib2.rst
--- a/Doc/howto/urllib2.rst
+++ b/Doc/howto/urllib2.rst
@@ -140,7 +140,7 @@
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.
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list