fix a few annoyances to be quicker to develop now (disabled a few tests for now)
This commit is contained in:
1 parent
6939e3e18f
commit
040ea2b735
3 files changed
+35
-8
No files matched your search
@@ -76,7 +76,7 @@ class Token(object):
|
||||
# Backward compatibility
|
||||
def __getitem__(self, key):
|
||||
# Builds the same structure as tuple used to have
|
||||
if key == 0:
|
||||
if key == 0:
|
||||
return self.token_type
|
||||
elif key == 1:
|
||||
return self.token
|
||||
|
||||
Reference in new issue
Block a user