summaryrefslogtreecommitdiffstats
path: root/Lib/shlex.py
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2007-05-24 17:33:33 (GMT)
committerGeorg Brandl <georg@python.org>2007-05-24 17:33:33 (GMT)
commitdd96ca3d6b7e6091ccaea56044139ffe7228712c (patch)
treec676cbcd1fbfd17d904f65d241cfbed55acf2216 /Lib/shlex.py
parentc90bc7599441632a0b6d0b9bfc92563fe7e19104 (diff)
downloadcpython-dd96ca3d6b7e6091ccaea56044139ffe7228712c.zip
cpython-dd96ca3d6b7e6091ccaea56044139ffe7228712c.tar.gz
cpython-dd96ca3d6b7e6091ccaea56044139ffe7228712c.tar.bz2
Fix parameter passing.
Diffstat (limited to 'Lib/shlex.py')
-rw-r--r--Lib/shlex.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/shlex.py b/Lib/shlex.py
index fa18bb9..e7c8acc 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 = ''