Some last fstring fixes.

This commit is contained in:
Dave Halter
2017-08-28 18:10:30 +02:00
parent cba82773d4
commit b921e280b0
4 changed files with 5 additions and 6 deletions

View File

@@ -176,7 +176,7 @@ class Grammar(object):
def __repr__(self):
labels = self._pgen_grammar.symbol2number.values()
labels = self._pgen_grammar.number2symbol.values()
txt = ' '.join(list(labels)[:3]) + ' ...'
return '<%s:%s>' % (self.__class__.__name__, txt)