[Python-checkins] cpython (2.7): Fix the urllib.parse.urljoin docs. Reported by Bo Bayles in docs list.

senthil.kumaran python-checkins at python.org
Wed Jun 22 03:56:31 EDT 2016


https://hg.python.org/cpython/rev/5cecd68851e8
changeset:   102126:5cecd68851e8
branch:      2.7
parent:      102123:7d25a93c135f
user:        Senthil Kumaran <senthil at uthcode.com>
date:        Wed Jun 22 00:56:22 2016 -0700
summary:
  Fix the urllib.parse.urljoin docs. Reported by Bo Bayles in docs list.

files:
  Doc/library/urlparse.rst |  2 +-
  1 files changed, 1 insertions(+), 1 deletions(-)


diff --git a/Doc/library/urlparse.rst b/Doc/library/urlparse.rst
--- a/Doc/library/urlparse.rst
+++ b/Doc/library/urlparse.rst
@@ -258,7 +258,7 @@
 
    .. doctest::
 
-      >>> urljoin('https://www.cwi.nl/%7Eguido/Python.html',
+      >>> urljoin('http://www.cwi.nl/%7Eguido/Python.html',
       ...         '//www.python.org/%7Eguido')
       'http://www.python.org/%7Eguido'
 

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


More information about the Python-checkins mailing list