From: Miss Skeleton (bot) <31488909+miss-islington@users.noreply.github.com> Date: Thu, 31 Oct 2019 12:50:32 +0000 (-0700) Subject: Add docstring for shlex.split (GH-16740) (GH-17012) X-Git-Tag: v3.7.6rc1~71 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=a28cf14deaa3e62c995f119036d2e63346cadbb8;p=thirdparty%2FPython%2Fcpython.git Add docstring for shlex.split (GH-16740) (GH-17012) (cherry picked from commit 65c7382c47af07aea5c1ce86b76cf7f4b6acaaa2) Co-authored-by: MaT1g3R --- diff --git a/Lib/shlex.py b/Lib/shlex.py index 195dc12bbce9..48e31f4799b4 100644 --- a/Lib/shlex.py +++ b/Lib/shlex.py @@ -302,6 +302,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: