mirror of
https://github.com/davidhalter/parso.git
synced 2026-02-11 20:52:00 +08:00
Some last fstring fixes.
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user