diff --git a/Lib/shlex.py b/Lib/shlex.py index fa18bb95e47..e7c8accd427 100644 --- a/Lib/shlex.py +++ b/Lib/shlex.py @@ -272,7 +272,7 @@ class shlex: return token def split(s, comments=False, posix=True): - lex = shlex(s, posix) + lex = shlex(s, posix=posix) lex.whitespace_split = True if not comments: lex.commenters = ''