Made single quotes not quotes anymore. Now only double quotes and backticks work.

This commit is contained in:
Jeremy Fincher 2003-03-28 07:02:44 +00:00
parent 8d857b6ffd
commit 22490174f3

View File

@ -151,8 +151,8 @@ class Error(Exception):
pass
class Tokenizer:
quotes = '\'"`'
nonbacktickquotes = '\'"'
quotes = '"`'
nonbacktickquotes = '"'
validChars = string.ascii[33:].translate(string.ascii, '\'"`[]')
def __init__(self, tokens=''):
self.validChars = self.validChars.translate(string.ascii, tokens)