mirror of
https://github.com/python/cpython.git
synced 2025-07-25 04:04:13 +00:00
Fix parameter passing.
This commit is contained in:
parent
c90bc75994
commit
dd96ca3d6b
1 changed files with 1 additions and 1 deletions
|
@ -272,7 +272,7 @@ class shlex:
|
||||||
return token
|
return token
|
||||||
|
|
||||||
def split(s, comments=False, posix=True):
|
def split(s, comments=False, posix=True):
|
||||||
lex = shlex(s, posix)
|
lex = shlex(s, posix=posix)
|
||||||
lex.whitespace_split = True
|
lex.whitespace_split = True
|
||||||
if not comments:
|
if not comments:
|
||||||
lex.commenters = ''
|
lex.commenters = ''
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue