Commit c7e84699 authored by Georg Brandl's avatar Georg Brandl

Fix indentation bug.

parent 3bf73850
...@@ -314,18 +314,19 @@ The following classes are provided: ...@@ -314,18 +314,19 @@ The following classes are provided:
users for the required information on the controlling terminal. A subclass may users for the required information on the controlling terminal. A subclass may
override this method to support more appropriate behavior if needed. override this method to support more appropriate behavior if needed.
The :class:`FancyURLopener` class offers one additional method that should be The :class:`FancyURLopener` class offers one additional method that should be
overloaded to provide the appropriate behavior: 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 Return information needed to authenticate the user at the given host in the
specified security realm. The return value should be a tuple, ``(user, specified security realm. The return value should be a tuple, ``(user,
password)``, which can be used for basic authentication. 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() .. class:: OpenerDirector()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment