1
0
forked from VimPlug/jedi

remove unused Statement.get_command function

This commit is contained in:
David Halter
2013-08-18 00:07:46 +04:30
parent 6d9d07f873
commit 5cec226d7e

View File

@@ -836,13 +836,6 @@ 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_commands()
try:
return commands[index]
except IndexError:
return None
@property
def assignment_details(self):
# parse statement which creates the assignment details.