commit | 65c7382c47af07aea5c1ce86b76cf7f4b6acaaa2 | [log] [tgz] |
---|---|---|
author | MaT1g3R <peijun.ma@protonmail.com> | Thu Oct 31 06:23:20 2019 -0400 |
committer | Vinay Sajip <vinay_sajip@yahoo.co.uk> | Thu Oct 31 10:23:20 2019 +0000 |
tree | 0f3984e79ed320e6e77d26ff8378df450991b301 | |
parent | b32cb97bce472dad337c6b2f071883f6234e21d8 [diff] |
Add docstring for shlex.split (GH-16740)
diff --git a/Lib/shlex.py b/Lib/shlex.py index ae0f5dd..c817274 100644 --- a/Lib/shlex.py +++ b/Lib/shlex.py
@@ -303,6 +303,7 @@ 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: