Skip to content

Commit 1abf543

Browse files
simonwmatrixise
authored andcommitted
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.
1 parent 51adfc6 commit 1abf543

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Doc/whatsnew/3.8.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1467,7 +1467,8 @@ The following features and APIs have been removed from Python 3.8:
14671467
script is tied to. (Contributed by Brett Cannon in :issue:`25427`.)
14681468

14691469
* ``parse_qs``, ``parse_qsl``, and ``escape`` are removed from :mod:`cgi`
1470-
module. They are deprecated from Python 3.2 or older.
1470+
module. They are deprecated from Python 3.2 or older. They should be imported
1471+
from the ``urllib.parse`` and ``html`` modules instead.
14711472

14721473
* ``filemode`` function is removed from :mod:`tarfile` module.
14731474
It is not documented and deprecated since Python 3.3.

0 commit comments

Comments
 (0)