summaryrefslogtreecommitdiffstats
path: root/Doc/whatsnew/3.9.rst
diff options
context:
space:
mode:
authorKen Jin <28750310+Fidget-Spinner@users.noreply.github.com>2021-02-15 17:00:20 (GMT)
committerGitHub <noreply@github.com>2021-02-15 17:00:20 (GMT)
commita2f0654b0a5b4c4f726155620002cc1f5f2d206a (patch)
tree52779bb7707f1c778e1f547656307a13020eaeee /Doc/whatsnew/3.9.rst
parent4bb2a1ebc569eee6f1b46ecef1965a26ae8cb76d (diff)
downloadcpython-a2f0654b0a5b4c4f726155620002cc1f5f2d206a.zip
cpython-a2f0654b0a5b4c4f726155620002cc1f5f2d206a.tar.gz
cpython-a2f0654b0a5b4c4f726155620002cc1f5f2d206a.tar.bz2
bpo-42967: Fix urllib.parse docs and make logic clearer (GH-24536)
Diffstat (limited to 'Doc/whatsnew/3.9.rst')
-rw-r--r--Doc/whatsnew/3.9.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/whatsnew/3.9.rst b/Doc/whatsnew/3.9.rst
index 5f4f8ba..3086930 100644
--- a/Doc/whatsnew/3.9.rst
+++ b/Doc/whatsnew/3.9.rst
@@ -1520,11 +1520,11 @@ become a :exc:`TypeError` in Python 3.10.
urllib.parse
------------
-Earlier Python versions allowed using both ";" and "&" as
+Earlier Python versions allowed using both ``;`` and ``&`` as
query parameter separators in :func:`urllib.parse.parse_qs` and
:func:`urllib.parse.parse_qsl`. Due to security concerns, and to conform with
newer W3C recommendations, this has been changed to allow only a single
-separator key, with "&" as the default. This change also affects
+separator key, with ``&`` as the default. This change also affects
:func:`cgi.parse` and :func:`cgi.parse_multipart` as they use the affected
functions internally. For more details, please see their respective
documentation.