Skip to content

Commit 2a301a5

Browse files
committed
Add whatsnew entry for shlex.quote gaining force kwarg
1 parent 762999d commit 2a301a5

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

Doc/whatsnew/3.15.rst

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1739,6 +1739,15 @@ New deprecations
17391739
Hugo van Kemenade in :gh:`148100`.)
17401740

17411741

1742+
* :mod:`shlex`:
1743+
1744+
* :func:`shlex.quote` has a new keyword-only parameter *force* that ensures
1745+
a string will always be quoted, even if it is already safe for a shell
1746+
without being quoted.
1747+
1748+
(Contributed by Jay Berry in :gh:`148846`.)
1749+
1750+
17421751
* :mod:`struct`:
17431752

17441753
* Calling the ``Struct.__new__()`` without required argument now is

0 commit comments

Comments
 (0)