From: Mark Dickinson Date: Sun, 4 Jul 2010 20:07:09 +0000 (+0000) Subject: Revert -r82559; it's not clear that this is the right thing to do, and the change... X-Git-Tag: v3.2a1~310 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=45a26b9b185dcc37eca22cdbaf2742c4d500c7d2;p=thirdparty%2FPython%2Fcpython.git Revert -r82559; it's not clear that this is the right thing to do, and the change obscures the original intentions. --- diff --git a/Lib/shlex.py b/Lib/shlex.py index 3edd3db1ed9e..55db23cf03de 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 = '\'"'