From: MaT1g3R Date: Thu, 31 Oct 2019 10:23:20 +0000 (-0400) Subject: Add docstring for shlex.split (GH-16740) X-Git-Tag: v3.9.0a1~95 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=65c7382c47af07aea5c1ce86b76cf7f4b6acaaa2;p=thirdparty%2FPython%2Fcpython.git Add docstring for shlex.split (GH-16740) --- diff --git a/Lib/shlex.py b/Lib/shlex.py index ae0f5ddec187..c81727458313 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: