[Python-checkins] cpython: Fix two typos in AbstractBasicAuthHandler documentation.
berker.peksag
python-checkins at python.org
Fri Apr 17 03:58:40 CEST 2015
https://hg.python.org/cpython/rev/35a9d60145cd
changeset: 95701:35a9d60145cd
user: Berker Peksag <berker.peksag at gmail.com>
date: Fri Apr 17 04:58:45 2015 +0300
summary:
Fix two typos in AbstractBasicAuthHandler documentation.
files:
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
--- a/Doc/library/urllib.request.rst
+++ b/Doc/library/urllib.request.rst
@@ -304,7 +304,7 @@
: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 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)
--
Repository URL: https://hg.python.org/cpython
More information about the Python-checkins
mailing list