]> granicus.if.org Git - python/commitdiff
Fix indentation bug.
authorGeorg Brandl <georg@python.org>
Mon, 29 Nov 2010 14:50:54 +0000 (14:50 +0000)
committerGeorg Brandl <georg@python.org>
Mon, 29 Nov 2010 14:50:54 +0000 (14:50 +0000)
Doc/library/urllib.request.rst

index c7c0815b77fc7129d9be7c4bb14ec56bd6b79ab6..c1c60c2c141c09322956a13896d528df4f9ef4e1 100644 (file)
@@ -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()