Fix typo in Token repr

This commit is contained in:
Christoph Deil 2017-05-20 22:24:55 +02:00 committed by GitHub
parent 4550f0c5d4
commit b71fbdafe3

View File

@ -68,7 +68,7 @@ class Token(object):
''' '''
__slots__ = ('type', 'value', 'lineno', 'index') __slots__ = ('type', 'value', 'lineno', 'index')
def __repr__(self): def __repr__(self):
return f'Token(type={self.type!r}, value={self.value!r}, lineno={self.lineno}, index={self.index}' return f'Token(type={self.type!r}, value={self.value!r}, lineno={self.lineno}, index={self.index})'
class LexerMetaDict(OrderedDict): class LexerMetaDict(OrderedDict):
''' '''