[Python-checkins] cpython (3.3): Document the addition of 'quote' to shlex in What's New.
r.david.murray
python-checkins at python.org
Sat Sep 29 15:50:08 CEST 2012
http://hg.python.org/cpython/rev/1acfede62364
changeset: 79249:1acfede62364
branch: 3.3
parent: 79247:7e83c8ccb1ba
user: R David Murray <rdmurray at bitdance.com>
date: Sat Sep 29 09:49:05 2012 -0400
summary:
Document the addition of 'quote' to shlex in What's New.
files:
Doc/whatsnew/3.3.rst | 10 +++++++++-
1 files changed, 9 insertions(+), 1 deletions(-)
diff --git a/Doc/whatsnew/3.3.rst b/Doc/whatsnew/3.3.rst
--- a/Doc/whatsnew/3.3.rst
+++ b/Doc/whatsnew/3.3.rst
@@ -1466,6 +1466,15 @@
:issue:`13245`)
+shlex
+-----
+
+* The previously undocumented helper function ``quote`` from the
+ :mod:`pipes` modules has been moved to the :mod:`shlex` module and
+ documented. :func:`~shlex.quote` properly escapes all characters in a string
+ that might be otherwise given special meaning by the shell.
+
+
shutil
------
@@ -1497,7 +1506,6 @@
in :issue:`4489`.)
-
signal
------
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list