diff --git a/Lib/shlex.py b/Lib/shlex.py index 3edd3db1ed9..55db23cf03d 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 @@ def __init__(self, instream=None, infile=None, posix=False): self.wordchars = ('abcdfeghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_') if self.posix: - self.wordchars += ('ßàáâãäåæçèéêëìíîïðñòóôõöøùúûüýþÿ' - 'ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖØÙÚÛÜÝÞ') + self.wordchars += ('' + '') self.whitespace = ' \t\r\n' self.whitespace_split = False self.quotes = '\'"'