summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorMark Dickinson <dickinsm@gmail.com>2010-07-04 20:07:09 (GMT)
committerMark Dickinson <dickinsm@gmail.com>2010-07-04 20:07:09 (GMT)
commit45a26b9b185dcc37eca22cdbaf2742c4d500c7d2 (patch)
tree6a0a3d1d35768cb9dec0d6dd5696a66d1ac83d7d /Lib
parent30b570bb4b509b905de473018ba2c8870e402a80 (diff)
downloadcpython-45a26b9b185dcc37eca22cdbaf2742c4d500c7d2.zip
cpython-45a26b9b185dcc37eca22cdbaf2742c4d500c7d2.tar.gz
cpython-45a26b9b185dcc37eca22cdbaf2742c4d500c7d2.tar.bz2
Revert -r82559; it's not clear that this is the right thing to do, and the change obscures the original intentions.
Diffstat (limited to 'Lib')
-rw-r--r--Lib/shlex.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/Lib/shlex.py b/Lib/shlex.py
index 3edd3db..55db23c 100644
--- a/Lib/shlex.py
+++ b/Lib/shlex.py
@@ -1,3 +1,4 @@
+# -*- coding: iso-8859-1 -*-
"""A lexical analyzer class for simple shell-like syntaxes."""
# Module and documentation by Eric S. Raymond, 21 Dec 1998
@@ -34,8 +35,8 @@ class shlex:
self.wordchars = ('abcdfeghijklmnopqrstuvwxyz'
'ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_')
if self.posix:
- self.wordchars += ('ßàáâãäåæçèéêëìíîïðñòóôõöøùúûüýþÿ'
- 'ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖØÙÚÛÜÝÞ')
+ self.wordchars += (''
+ '')
self.whitespace = ' \t\r\n'
self.whitespace_split = False
self.quotes = '\'"'