Get rid of some more cases of backquotes. parsermodule.c doesn't compile

but looks like that was a problem before this change.
This commit is contained in:
Neal Norwitz 2006-08-29 04:40:24 +00:00
parent 3bd844e695
commit 2eca440c8d
6 changed files with 3 additions and 17 deletions

View file

@ -111,7 +111,6 @@ class Transformer:
self._atom_dispatch = {token.LPAR: self.atom_lpar,
token.LSQB: self.atom_lsqb,
token.LBRACE: self.atom_lbrace,
token.BACKQUOTE: self.atom_backquote,
token.NUMBER: self.atom_number,
token.STRING: self.atom_string,
token.NAME: self.atom_name,
@ -740,9 +739,6 @@ class Transformer:
return Dict((), lineno=nodelist[0][2])
return self.com_dictsetmaker(nodelist[1])
def atom_backquote(self, nodelist):
return Backquote(self.com_node(nodelist[1]))
def atom_number(self, nodelist):
### need to verify this matches compile.c
k = eval(nodelist[0][1])