1
0
forked from VimPlug/jedi

make array slicing work again

This commit is contained in:
David Halter
2013-02-08 15:50:35 +01:00
parent 942c620cde
commit d6257fffc8
2 changed files with 12 additions and 5 deletions

View File

@@ -730,6 +730,13 @@ class Statement(Simple):
# first keyword of the first token is global -> must be a global
return str(self.token_list[0]) == "global"
def get_command(self, index):
commands = self.get_assignment_calls()
try:
return commands[index]
except IndexError:
return None
@property
def assignment_details(self):
if self._assignment_calls is None: