Switch to f-strings

This commit is contained in:
David Beazley
2017-02-01 13:15:34 -06:00
parent d614aa0e04
commit b6357d2491
4 changed files with 51 additions and 53 deletions

View File

@@ -64,7 +64,7 @@ class CalcParser(Parser):
def expr(self, p):
return p.term
@_('term TIMES factor1')
@_('term TIMES factor')
def term(self, p):
return p.term * p.factor