]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Issue #23684: Clarify the return value of the scheme attribute of ParseResult and...
authorBerker Peksag <berker.peksag@gmail.com>
Thu, 25 Jun 2015 20:47:43 +0000 (23:47 +0300)
committerBerker Peksag <berker.peksag@gmail.com>
Thu, 25 Jun 2015 20:47:43 +0000 (23:47 +0300)
Patch by Martin Panter.

Doc/library/urlparse.rst

index 87e08dd47f9c5b763fe4a80cebf4eb43bd81e875..c1191909255461e929b23f3c77d7da8afcdddf51 100644 (file)
@@ -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         |
    +------------------+-------+-------------------------+----------------------+