]> granicus.if.org Git - python/commitdiff
Issue #29189: Fix broken indentation in FancyURLopener documentation
authorBerker Peksag <berker.peksag@gmail.com>
Sat, 7 Jan 2017 06:17:02 +0000 (09:17 +0300)
committerBerker Peksag <berker.peksag@gmail.com>
Sat, 7 Jan 2017 06:17:02 +0000 (09:17 +0300)
Doc/library/urllib.rst

index 69ef8f751968b860ed3effaac8bba68b3287b820..a2d6852ae66d14c13dbd205c86c7bed33114c320 100644 (file)
@@ -415,18 +415,18 @@ URL Opener objects
       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.
 
 .. exception:: ContentTooShortError(msg[, content])