From: Berker Peksag Date: Thu, 25 Jun 2015 20:47:43 +0000 (+0300) Subject: Issue #23684: Clarify the return value of the scheme attribute of ParseResult and... X-Git-Tag: v2.7.11rc1~259 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=6750c8b803f0f6d257a6bac36d695bc5fb049bf9;p=thirdparty%2FPython%2Fcpython.git Issue #23684: Clarify the return value of the scheme attribute of ParseResult and SplitResult objects. Patch by Martin Panter. --- diff --git a/Doc/library/urlparse.rst b/Doc/library/urlparse.rst index 87e08dd47f9c..c11919092554 100644 --- a/Doc/library/urlparse.rst +++ b/Doc/library/urlparse.rst @@ -93,7 +93,7 @@ The :mod:`urlparse` module defines the following functions: +------------------+-------+--------------------------+----------------------+ | Attribute | Index | Value | Value if not present | +==================+=======+==========================+======================+ - | :attr:`scheme` | 0 | URL scheme specifier | empty string | + | :attr:`scheme` | 0 | URL scheme specifier | *scheme* parameter | +------------------+-------+--------------------------+----------------------+ | :attr:`netloc` | 1 | Network location part | empty string | +------------------+-------+--------------------------+----------------------+ @@ -197,7 +197,7 @@ The :mod:`urlparse` module defines the following functions: +------------------+-------+-------------------------+----------------------+ | Attribute | Index | Value | Value if not present | +==================+=======+=========================+======================+ - | :attr:`scheme` | 0 | URL scheme specifier | empty string | + | :attr:`scheme` | 0 | URL scheme specifier | *scheme* parameter | +------------------+-------+-------------------------+----------------------+ | :attr:`netloc` | 1 | Network location part | empty string | +------------------+-------+-------------------------+----------------------+