change str to self.STR_RENDER in Expression.simplify
This commit is contained in:
parent
5b4ef79982
commit
1f86b234ea
|
@ -133,7 +133,7 @@ class Expression(object):
|
|||
if new_s != old_s:
|
||||
old_s = new_s
|
||||
yield new_s
|
||||
if old_s != str(self.child):
|
||||
if old_s != self.STR_RENDER([self.child]):
|
||||
yield self.STR_RENDER([self.child])
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue