diff options
author | Berker Peksag <berker.peksag@gmail.com> | 2015-04-17 01:58:45 (GMT) |
---|---|---|
committer | Berker Peksag <berker.peksag@gmail.com> | 2015-04-17 01:58:45 (GMT) |
commit | 6d7dced188173289508639e1ff6f29ef31228993 (patch) | |
tree | 5e78b7e73de17bb9cfec3b25ffa24932bdd31caf | |
parent | 37f1ba915b87486d497daf9d57f459833240ceed (diff) | |
download | cpython-6d7dced188173289508639e1ff6f29ef31228993.zip cpython-6d7dced188173289508639e1ff6f29ef31228993.tar.gz cpython-6d7dced188173289508639e1ff6f29ef31228993.tar.bz2 |
Fix two typos in AbstractBasicAuthHandler documentation.
-rw-r--r-- | Doc/library/urllib.request.rst | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Doc/library/urllib.request.rst b/Doc/library/urllib.request.rst index 1ae3e43..5010fc3 100644 --- a/Doc/library/urllib.request.rst +++ b/Doc/library/urllib.request.rst @@ -304,7 +304,7 @@ The following classes are provided: :ref:`http-password-mgr-with-prior-auth`), then the handler will use the ``is_authenticated`` result for a given URI to determine whether or not to send authentication credentials with the request. If ``is_authenticated`` - returns ``True`` for the URI, credentials are sent. If ``is_authenticated + returns ``True`` for the URI, credentials are sent. If ``is_authenticated`` is ``False``, credentials are not sent, and then if a ``401`` response is received the request is re-sent with the authentication credentials. If authentication succeeds, ``update_authenticated`` is called to set @@ -312,7 +312,8 @@ The following classes are provided: the URI or any of its super-URIs will automatically include the authentication credentials. - .. versionadded:: 3.5: added ``is_authenticated`` support. + .. versionadded:: 3.5 + Added ``is_authenticated`` support. .. class:: HTTPBasicAuthHandler(password_mgr=None) |