Fix typo in Token repr
This commit is contained in:
parent
4550f0c5d4
commit
b71fbdafe3
@ -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):
|
||||||
'''
|
'''
|
||||||
|
Loading…
Reference in New Issue
Block a user