We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
shlex.quote
force
1 parent 762999d commit 2a301a5Copy full SHA for 2a301a5
1 file changed
Doc/whatsnew/3.15.rst
@@ -1739,6 +1739,15 @@ New deprecations
1739
Hugo van Kemenade in :gh:`148100`.)
1740
1741
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
1751
* :mod:`struct`:
1752
1753
* Calling the ``Struct.__new__()`` without required argument now is
0 commit comments