From: Berker Peksag Date: Sat, 7 Jan 2017 06:17:02 +0000 (+0300) Subject: Issue #29189: Fix broken indentation in FancyURLopener documentation X-Git-Tag: v2.7.14rc1~306^2~4 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=10434d6cb6c449c79b00919c55c4d8fcbea43526;p=python Issue #29189: Fix broken indentation in FancyURLopener documentation --- diff --git a/Doc/library/urllib.rst b/Doc/library/urllib.rst index 69ef8f7519..a2d6852ae6 100644 --- a/Doc/library/urllib.rst +++ b/Doc/library/urllib.rst @@ -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])