mirror of
https://github.com/davidhalter/jedi.git
synced 2026-02-21 05:08:26 +08:00
fix a few annoyances to be quicker to develop now (disabled a few tests for now)
This commit is contained in:
@@ -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