summaryrefslogtreecommitdiffstats
path: root/Lib/commands.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/commands.py')
-rw-r--r--Lib/commands.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/Lib/commands.py b/Lib/commands.py
index 428a830..6471a8d 100644
--- a/Lib/commands.py
+++ b/Lib/commands.py
@@ -40,6 +40,8 @@ def mk2arg(head, x):
# Make a shell command argument from a string.
+# Return a string beginning with a space followed by a shell-quoted
+# version of the argument.
# Two strategies: enclose in single quotes if it contains none;
# otherwise, enclose in double quotes and prefix quotable characters
# with backslash.