Skip to content

Commit 65c7382

Browse files
MaT1g3Rvsajip
authored andcommitted
Add docstring for shlex.split (GH-16740)
1 parent b32cb97 commit 65c7382

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Lib/shlex.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -303,6 +303,7 @@ def __next__(self):
303303
return token
304304

305305
def split(s, comments=False, posix=True):
306+
"""Split the string *s* using shell-like syntax."""
306307
lex = shlex(s, posix=posix)
307308
lex.whitespace_split = True
308309
if not comments:

0 commit comments

Comments
 (0)