summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Willison <swillison@gmail.com>2019-09-11 09:25:26 -0500
committerStéphane Wirtel <stephane@wirtel.be>2019-09-11 16:25:25 +0200
commit1abf54336fd2cb545c453d22dd5501392b3350b2 (patch)
tree7b3d00799d78883ccc3a6d57325cebd5d60be5a9
parent51adfc6ed2c6c466dda84edc11d9b2b8ae2903e8 (diff)
downloadcpython-git-1abf54336fd2cb545c453d22dd5501392b3350b2.tar.gz
Doc: Indicate locations of parse_qs, parse_qsl, escape (GH-14828)
Since they have been removed from cgi it's useful to remind people where they can be found instead.
-rw-r--r--Doc/whatsnew/3.8.rst3
1 files changed, 2 insertions, 1 deletions
diff --git a/Doc/whatsnew/3.8.rst b/Doc/whatsnew/3.8.rst
index 07202ea4ff..aefe9b5374 100644
--- a/Doc/whatsnew/3.8.rst
+++ b/Doc/whatsnew/3.8.rst
@@ -1467,7 +1467,8 @@ The following features and APIs have been removed from Python 3.8:
script is tied to. (Contributed by Brett Cannon in :issue:`25427`.)
* ``parse_qs``, ``parse_qsl``, and ``escape`` are removed from :mod:`cgi`
- module. They are deprecated from Python 3.2 or older.
+ module. They are deprecated from Python 3.2 or older. They should be imported
+ from the ``urllib.parse`` and ``html`` modules instead.
* ``filemode`` function is removed from :mod:`tarfile` module.
It is not documented and deprecated since Python 3.3.