Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit deb852d

Browse files
committed
Merge 3.2 branch.
2 parents d11c3e3 + 06ad13e commit deb852d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Doc/howto/urllib2.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ This is done as follows::
140140
name=Somebody+Here&language=Python&location=Northampton
141141
>>> url = 'http://www.example.com/example.cgi'
142142
>>> full_url = url + '?' + url_values
143-
>>> data = urllib.request.open(full_url)
143+
>>> data = urllib.request.urlopen(full_url)
144144

145145
Notice that the full URL is created by adding a ``?`` to the URL, followed by
146146
the encoded values.

0 commit comments

Comments
 (0)