summaryrefslogtreecommitdiffstats
path: root/Doc/howto
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2013-12-24 09:04:36 (GMT)
committerSerhiy Storchaka <storchaka@gmail.com>2013-12-24 09:04:36 (GMT)
commitf47036c1309536c048890c265605b06daf7bdc9c (patch)
treee6df0e6a342b66183d5924c97667c14c42cb2ff7 /Doc/howto
parent55c6cc408c56f586c4826c1d9639a5f4635c021c (diff)
downloadcpython-f47036c1309536c048890c265605b06daf7bdc9c.zip
cpython-f47036c1309536c048890c265605b06daf7bdc9c.tar.gz
cpython-f47036c1309536c048890c265605b06daf7bdc9c.tar.bz2
Removed spaces before colons and semicolons.
Diffstat (limited to 'Doc/howto')
-rw-r--r--Doc/howto/logging-cookbook.rst4
-rw-r--r--Doc/howto/urllib2.rst4
2 files changed, 4 insertions, 4 deletions
diff --git a/Doc/howto/logging-cookbook.rst b/Doc/howto/logging-cookbook.rst
index 3f256e1..553d30e 100644
--- a/Doc/howto/logging-cookbook.rst
+++ b/Doc/howto/logging-cookbook.rst
@@ -841,7 +841,7 @@ separate thread::
},
'loggers': {
'foo': {
- 'handlers' : ['foofile']
+ 'handlers': ['foofile']
}
},
'root': {
@@ -1529,7 +1529,7 @@ works::
},
'loggers': {
'foo': {
- 'handlers' : ['foofile']
+ 'handlers': ['foofile']
}
},
'root': {
diff --git a/Doc/howto/urllib2.rst b/Doc/howto/urllib2.rst
index 78365c9..5a22660 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)