From 7091957903310a76b38447dcb29013e161ca05bf Mon Sep 17 00:00:00 2001 From: MaT1g3R Date: Thu, 31 Oct 2019 06:23:20 -0400 Subject: [PATCH] Add docstring for shlex.split (GH-16740) (cherry picked from commit 65c7382c47af07aea5c1ce86b76cf7f4b6acaaa2) Co-authored-by: MaT1g3R --- Lib/shlex.py | 1 + 1 file changed, 1 insertion(+) diff --git a/Lib/shlex.py b/Lib/shlex.py index ae0f5ddec18716..c817274583135a 100644 --- a/Lib/shlex.py +++ b/Lib/shlex.py @@ -303,6 +303,7 @@ def __next__(self): 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: