commit
636197b9fd
@ -68,7 +68,7 @@ class Token(object):
|
||||
'''
|
||||
__slots__ = ('type', 'value', 'lineno', 'index')
|
||||
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):
|
||||
'''
|
||||
|
Loading…
Reference in New Issue
Block a user