diff options
author | Antoine Pitrou <solipsis@pitrou.net> | 2010-10-27 18:52:48 (GMT) |
---|---|---|
committer | Antoine Pitrou <solipsis@pitrou.net> | 2010-10-27 18:52:48 (GMT) |
commit | d72402effcc3ab4dd8dbdfc1e6f12aebcf3d3e13 (patch) | |
tree | 84c50ff069ed27b1b807ab64d49ce5b69be31e9b /Lib/shlex.py | |
parent | 6b03ee603315ac9e69332c8f2d064de0a98c3f15 (diff) | |
download | cpython-d72402effcc3ab4dd8dbdfc1e6f12aebcf3d3e13.zip cpython-d72402effcc3ab4dd8dbdfc1e6f12aebcf3d3e13.tar.gz cpython-d72402effcc3ab4dd8dbdfc1e6f12aebcf3d3e13.tar.bz2 |
Recode modules from latin-1 to utf-8
Diffstat (limited to 'Lib/shlex.py')
-rw-r--r-- | Lib/shlex.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/Lib/shlex.py b/Lib/shlex.py index 55db23c..3edd3db 100644 --- a/Lib/shlex.py +++ b/Lib/shlex.py @@ -1,4 +1,3 @@ -# -*- coding: iso-8859-1 -*- """A lexical analyzer class for simple shell-like syntaxes.""" # Module and documentation by Eric S. Raymond, 21 Dec 1998 @@ -35,8 +34,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 = '\'"' |