summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBerker Peksag <berker.peksag@gmail.com>2015-06-25 20:47:43 (GMT)
committerBerker Peksag <berker.peksag@gmail.com>2015-06-25 20:47:43 (GMT)
commit6750c8b803f0f6d257a6bac36d695bc5fb049bf9 (patch)
treed803f42f857d1ad8333182b4e01e8952180a59b0
parent3e5e74ad4cbfac4f75b7bb328d7bcbf59645bc57 (diff)
downloadcpython-6750c8b803f0f6d257a6bac36d695bc5fb049bf9.zip
cpython-6750c8b803f0f6d257a6bac36d695bc5fb049bf9.tar.gz
cpython-6750c8b803f0f6d257a6bac36d695bc5fb049bf9.tar.bz2
Issue #23684: Clarify the return value of the scheme attribute of ParseResult and SplitResult objects.
Patch by Martin Panter.
-rw-r--r--Doc/library/urlparse.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/library/urlparse.rst b/Doc/library/urlparse.rst
index 87e08dd..c119190 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 |
+------------------+-------+-------------------------+----------------------+