Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 10434d6

Browse files
committed
Issue python#29189: Fix broken indentation in FancyURLopener documentation
1 parent 9b7ae96 commit 10434d6

1 file changed

Lines changed: 9 additions & 9 deletions

File tree

Doc/library/urllib.rst

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -415,18 +415,18 @@ URL Opener objects
415415
users for the required information on the controlling terminal. A subclass may
416416
override this method to support more appropriate behavior if needed.
417417

418-
The :class:`FancyURLopener` class offers one additional method that should be
419-
overloaded to provide the appropriate behavior:
418+
The :class:`FancyURLopener` class offers one additional method that should be
419+
overloaded to provide the appropriate behavior:
420420

421-
.. method:: prompt_user_passwd(host, realm)
421+
.. method:: prompt_user_passwd(host, realm)
422422

423-
Return information needed to authenticate the user at the given host in the
424-
specified security realm. The return value should be a tuple, ``(user,
425-
password)``, which can be used for basic authentication.
423+
Return information needed to authenticate the user at the given host in the
424+
specified security realm. The return value should be a tuple, ``(user,
425+
password)``, which can be used for basic authentication.
426426

427-
The implementation prompts for this information on the terminal; an application
428-
should override this method to use an appropriate interaction model in the local
429-
environment.
427+
The implementation prompts for this information on the terminal; an application
428+
should override this method to use an appropriate interaction model in the local
429+
environment.
430430

431431
.. exception:: ContentTooShortError(msg[, content])
432432

0 commit comments

Comments
 (0)