Commit 80eb276b authored by 张英杰's avatar 张英杰

Merge branch 'gm/master' into 'master'

str(x) --> text(x)

See merge request !1
parents 4add4db9 34156cff
......@@ -881,7 +881,7 @@ class NonTerminal(ParseTreeNode, list):
return self.name
def __str__(self):
return " | ".join([str(x) for x in self])
return " | ".join([text(x) for x in self])
def __unicode__(self):
return self.__str__()
......
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