[Python-checkins] cpython (2.7): Issue #23684: Clarify the return value of the scheme attribute of ParseResult
berker.peksag
python-checkins at python.org
Thu Jun 25 22:46:49 CEST 2015
https://hg.python.org/cpython/rev/7bf9e10fc32f
changeset: 96681:7bf9e10fc32f
branch: 2.7
parent: 96669:37c827d9dda4
user: Berker Peksag <berker.peksag at gmail.com>
date: Thu Jun 25 23:47:43 2015 +0300
summary:
Issue #23684: Clarify the return value of the scheme attribute of ParseResult and SplitResult objects.
Patch by Martin Panter.
files:
Doc/library/urlparse.rst | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/Doc/library/urlparse.rst b/Doc/library/urlparse.rst
--- a/Doc/library/urlparse.rst
+++ b/Doc/library/urlparse.rst
@@ -93,7 +93,7 @@
+------------------+-------+--------------------------+----------------------+
| 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 @@
+------------------+-------+-------------------------+----------------------+
| 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 |
+------------------+-------+-------------------------+----------------------+
--
Repository URL: https://hg.python.org/cpython
More information about the Python-checkins
mailing list