Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents d11c3e3 + 06ad13e commit deb852dCopy full SHA for deb852d
1 file changed
Doc/howto/urllib2.rst
@@ -140,7 +140,7 @@ This is done as follows::
140
name=Somebody+Here&language=Python&location=Northampton
141
>>> url = 'http://www.example.com/example.cgi'
142
>>> full_url = url + '?' + url_values
143
- >>> data = urllib.request.open(full_url)
+ >>> data = urllib.request.urlopen(full_url)
144
145
Notice that the full URL is created by adding a ``?`` to the URL, followed by
146
the encoded values.
0 commit comments