]> granicus.if.org Git - python/commitdiff
Doc: Indicate locations of parse_qs, parse_qsl, escape (GH-14828)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Wed, 11 Sep 2019 15:04:02 +0000 (08:04 -0700)
committerGitHub <noreply@github.com>
Wed, 11 Sep 2019 15:04:02 +0000 (08:04 -0700)
Since they have been removed from cgi it's useful to remind people where they
can be found instead.
(cherry picked from commit 1abf54336fd2cb545c453d22dd5501392b3350b2)

Co-authored-by: Simon Willison <swillison@gmail.com>
Doc/whatsnew/3.8.rst

index 07202ea4ff08d6256219d3c9d2c8e8d7fa8dcc7b..aefe9b53746f0a65ce2716bdfeaab212e66fce3b 100644 (file)
@@ -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.