summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2010-11-29 14:50:54 (GMT)
committerGeorg Brandl <georg@python.org>2010-11-29 14:50:54 (GMT)
commit51be98a920070f779fe92fa0ad83c4258934276d (patch)
tree867495a9966a372f9f91007bbd2020a4f76d73a4 /Doc
parent3d0f388a6b7f10e1ff499c6b28c4b1b92c3e82f2 (diff)
downloadcpython-51be98a920070f779fe92fa0ad83c4258934276d.zip
cpython-51be98a920070f779fe92fa0ad83c4258934276d.tar.gz
cpython-51be98a920070f779fe92fa0ad83c4258934276d.tar.bz2
Fix indentation bug.
Diffstat (limited to 'Doc')
-rw-r--r--Doc/library/urllib.request.rst19
1 files changed, 10 insertions, 9 deletions
diff --git a/Doc/library/urllib.request.rst b/Doc/library/urllib.request.rst
index c7c0815..c1c60c2 100644
--- a/Doc/library/urllib.request.rst
+++ b/Doc/library/urllib.request.rst
@@ -314,18 +314,19 @@ The following classes are provided:
users for the required information on the controlling terminal. A subclass may
override this method to support more appropriate behavior if needed.
- The :class:`FancyURLopener` class offers one additional method that should be
- overloaded to provide the appropriate behavior:
+ The :class:`FancyURLopener` class offers one additional method that should be
+ overloaded to provide the appropriate behavior:
- .. method:: prompt_user_passwd(host, realm)
+ .. method:: prompt_user_passwd(host, realm)
- Return information needed to authenticate the user at the given host in the
- specified security realm. The return value should be a tuple, ``(user,
- password)``, which can be used for basic authentication.
+ Return information needed to authenticate the user at the given host in the
+ specified security realm. The return value should be a tuple, ``(user,
+ password)``, which can be used for basic authentication.
+
+ The implementation prompts for this information on the terminal; an application
+ should override this method to use an appropriate interaction model in the local
+ environment.
- The implementation prompts for this information on the terminal; an application
- should override this method to use an appropriate interaction model in the local
- environment.
.. class:: OpenerDirector()