Kaydet (Commit) 45a26b9b authored tarafından Mark Dickinson's avatar Mark Dickinson

Revert -r82559; it's not clear that this is the right thing to do, and the…

Revert -r82559;  it's not clear that this is the right thing to do, and the change obscures the original intentions.
üst 30b570bb
# -*- coding: iso-8859-1 -*-
"""A lexical analyzer class for simple shell-like syntaxes.""" """A lexical analyzer class for simple shell-like syntaxes."""
# Module and documentation by Eric S. Raymond, 21 Dec 1998 # Module and documentation by Eric S. Raymond, 21 Dec 1998
...@@ -34,8 +35,8 @@ class shlex: ...@@ -34,8 +35,8 @@ class shlex:
self.wordchars = ('abcdfeghijklmnopqrstuvwxyz' self.wordchars = ('abcdfeghijklmnopqrstuvwxyz'
'ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_') 'ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_')
if self.posix: if self.posix:
self.wordchars += ('ßàáâãäåæçèéêëìíîïðñòóôõöøùúûüýþÿ' self.wordchars += (''
'ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖØÙÚÛÜÝÞ') '')
self.whitespace = ' \t\r\n' self.whitespace = ' \t\r\n'
self.whitespace_split = False self.whitespace_split = False
self.quotes = '\'"' self.quotes = '\'"'
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment