diff options
author | Miss Skeleton (bot) <31488909+miss-islington@users.noreply.github.com> | 2019-10-31 12:50:32 (GMT) |
---|---|---|
committer | Vinay Sajip <vinay_sajip@yahoo.co.uk> | 2019-10-31 12:50:32 (GMT) |
commit | a28cf14deaa3e62c995f119036d2e63346cadbb8 (patch) | |
tree | 04aa65bc299122801632a781ec59ec4a51404c39 | |
parent | f3aa1dc3b31906bc0fa74bdd339bf1bf14154361 (diff) | |
download | cpython-a28cf14deaa3e62c995f119036d2e63346cadbb8.zip cpython-a28cf14deaa3e62c995f119036d2e63346cadbb8.tar.gz cpython-a28cf14deaa3e62c995f119036d2e63346cadbb8.tar.bz2 |
Add docstring for shlex.split (GH-16740) (GH-17012)
(cherry picked from commit 65c7382c47af07aea5c1ce86b76cf7f4b6acaaa2)
Co-authored-by: MaT1g3R <peijun.ma@protonmail.com>
-rw-r--r-- | Lib/shlex.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/shlex.py b/Lib/shlex.py index 195dc12..48e31f4 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: |