summaryrefslogtreecommitdiffstats
path: root/Doc/howto/urllib2.rst
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2013-12-24 09:05:24 (GMT)
committerSerhiy Storchaka <storchaka@gmail.com>2013-12-24 09:05:24 (GMT)
commit89e84e7523755faad1cc64ddb9f74a22a63135b1 (patch)
tree53a9c99c3fc2a4d6535b7b806beec5f26b06ca0a /Doc/howto/urllib2.rst
parent7ceb378b8d65de833746145d279959198d199540 (diff)
parentf47036c1309536c048890c265605b06daf7bdc9c (diff)
downloadcpython-89e84e7523755faad1cc64ddb9f74a22a63135b1.zip
cpython-89e84e7523755faad1cc64ddb9f74a22a63135b1.tar.gz
cpython-89e84e7523755faad1cc64ddb9f74a22a63135b1.tar.bz2
Removed spaces before colons and semicolons.
Diffstat (limited to 'Doc/howto/urllib2.rst')
-rw-r--r--Doc/howto/urllib2.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/howto/urllib2.rst b/Doc/howto/urllib2.rst
index f9fde14..3d5de32 100644
--- a/Doc/howto/urllib2.rst
+++ b/Doc/howto/urllib2.rst
@@ -454,7 +454,7 @@ Authentication Tutorial
When authentication is required, the server sends a header (as well as the 401
error code) requesting authentication. This specifies the authentication scheme
-and a 'realm'. The header looks like : ``WWW-Authenticate: SCHEME
+and a 'realm'. The header looks like: ``WWW-Authenticate: SCHEME
realm="REALM"``.
e.g. ::
@@ -526,7 +526,7 @@ the ``ProxyHandler``, which is part of the normal handler chain when a proxy
setting is detected. Normally that's a good thing, but there are occasions
when it may not be helpful [#]_. One way to do this is to setup our own
``ProxyHandler``, with no proxies defined. This is done using similar steps to
-setting up a `Basic Authentication`_ handler : ::
+setting up a `Basic Authentication`_ handler: ::
>>> proxy_support = urllib.request.ProxyHandler({})
>>> opener = urllib.request.build_opener(proxy_support)