[Python-checkins] cpython (2.7): Closes #22586: clarify meaning of allow_fragments in urlparse.

georg.brandl python-checkins at python.org
Sun Oct 12 16:14:25 CEST 2014


https://hg.python.org/cpython/rev/c2eda29a8ccb
changeset:   92992:c2eda29a8ccb
branch:      2.7
parent:      92968:71fe5e336d5b
user:        Georg Brandl <georg at python.org>
date:        Sun Oct 12 16:13:32 2014 +0200
summary:
  Closes #22586: clarify meaning of allow_fragments in urlparse.

files:
  Doc/library/urlparse.rst |  5 +++--
  1 files changed, 3 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
@@ -83,8 +83,9 @@
    this argument is the empty string.
 
    If the *allow_fragments* argument is false, fragment identifiers are not
-   allowed, even if the URL's addressing scheme normally does support them.  The
-   default value for this argument is :const:`True`.
+   recognized and parsed as part of the preceding component, even if the URL's
+   addressing scheme normally does support them.  The default value for this
+   argument is :const:`True`.
 
    The return value is actually an instance of a subclass of :class:`tuple`.  This
    class has the following additional read-only convenience attributes:

-- 
Repository URL: https://hg.python.org/cpython


More information about the Python-checkins mailing list