summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSardorbek Imomaliev <sardorbek.imomaliev@gmail.com>2020-05-23 01:05:05 (GMT)
committerGitHub <noreply@github.com>2020-05-23 01:05:05 (GMT)
commit8022eb4e971f549825f2581e83ee3c028f01329e (patch)
treebc61ce8a0883c0e63139cf839453de6397d20760
parentda51ba442c7bf717872633676207c1ae10e99c99 (diff)
downloadcpython-8022eb4e971f549825f2581e83ee3c028f01329e.zip
cpython-8022eb4e971f549825f2581e83ee3c028f01329e.tar.gz
cpython-8022eb4e971f549825f2581e83ee3c028f01329e.tar.bz2
[doc] Add missing space in urllib.request.rst (GH-19860)
This is just a typo fix, should I still provide news file?
-rw-r--r--Doc/library/urllib.request.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/urllib.request.rst b/Doc/library/urllib.request.rst
index 03712c1..288ce14 100644
--- a/Doc/library/urllib.request.rst
+++ b/Doc/library/urllib.request.rst
@@ -1235,7 +1235,7 @@ Here is an example of doing a ``PUT`` request using :class:`Request`::
import urllib.request
DATA = b'some data'
- req = urllib.request.Request(url='http://localhost:8080', data=DATA,method='PUT')
+ req = urllib.request.Request(url='http://localhost:8080', data=DATA, method='PUT')
with urllib.request.urlopen(req) as f:
pass
print(f.status)