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.
1 parent da51ba4 commit 8022eb4Copy full SHA for 8022eb4
1 file changed
Doc/library/urllib.request.rst
@@ -1235,7 +1235,7 @@ Here is an example of doing a ``PUT`` request using :class:`Request`::
1235
1236
import urllib.request
1237
DATA = b'some data'
1238
- req = urllib.request.Request(url='http://localhost:8080', data=DATA,method='PUT')
+ req = urllib.request.Request(url='http://localhost:8080', data=DATA, method='PUT')
1239
with urllib.request.urlopen(req) as f:
1240
pass
1241
print(f.status)
0 commit comments