mirror of
https://github.com/python/cpython.git
synced 2025-11-01 18:51:43 +00:00
Removed spaces before colons and semicolons.
This commit is contained in:
parent
55c6cc408c
commit
f47036c130
12 changed files with 30 additions and 30 deletions
|
|
@ -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': {
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue