summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Lib/shlex.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/shlex.py b/Lib/shlex.py
index ae0f5ddec1..c817274583 100644
--- a/Lib/shlex.py
+++ b/Lib/shlex.py
@@ -303,6 +303,7 @@ class shlex:
return token
def split(s, comments=False, posix=True):
+ """Split the string *s* using shell-like syntax."""
lex = shlex(s, posix=posix)
lex.whitespace_split = True
if not comments: