diff options
author | Senthil Kumaran <skumaran@gatech.edu> | 2017-05-16 05:41:03 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-05-16 05:41:03 (GMT) |
commit | 72e5aa1ef812358b3b113e784e7365fec13dfd69 (patch) | |
tree | 0ca301713aa53a6ed25538573f2f35e1e18aceb3 /Doc/library | |
parent | dd2a09cf98845b1460f0e049ad0ffeeb5c6c6476 (diff) | |
download | cpython-72e5aa1ef812358b3b113e784e7365fec13dfd69.zip cpython-72e5aa1ef812358b3b113e784e7365fec13dfd69.tar.gz cpython-72e5aa1ef812358b3b113e784e7365fec13dfd69.tar.bz2 |
bpo-29651 - Cover edge case of square brackets in urllib docs (#1128) (#1597)
(cherry picked from commit f6e863d868a621594df2a8abe072b5d4766e7137)
Diffstat (limited to 'Doc/library')
-rw-r--r-- | Doc/library/urllib.parse.rst | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Doc/library/urllib.parse.rst b/Doc/library/urllib.parse.rst index 499b211..6f722a8 100644 --- a/Doc/library/urllib.parse.rst +++ b/Doc/library/urllib.parse.rst @@ -117,6 +117,9 @@ or on combining URL components into a URL string. See section :ref:`urlparse-result-object` for more information on the result object. + Unmatched square brackets in the :attr:`netloc` attribute will raise a + :exc:`ValueError`. + .. versionchanged:: 3.2 Added IPv6 URL parsing capabilities. @@ -230,6 +233,9 @@ or on combining URL components into a URL string. See section :ref:`urlparse-result-object` for more information on the result object. + Unmatched square brackets in the :attr:`netloc` attribute will raise a + :exc:`ValueError`. + .. function:: urlunsplit(parts) |