forked from VimPlug/jedi
remove unused Statement.get_command function
This commit is contained in:
@@ -836,13 +836,6 @@ class Statement(Simple):
|
|||||||
# first keyword of the first token is global -> must be a global
|
# first keyword of the first token is global -> must be a global
|
||||||
return str(self.token_list[0]) == "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
|
@property
|
||||||
def assignment_details(self):
|
def assignment_details(self):
|
||||||
# parse statement which creates the assignment details.
|
# parse statement which creates the assignment details.
|
||||||
|
|||||||
Reference in New Issue
Block a user