From 5cec226d7e02034a8e9423051913e669243b2fba Mon Sep 17 00:00:00 2001 From: David Halter Date: Sun, 18 Aug 2013 00:07:46 +0430 Subject: [PATCH] remove unused Statement.get_command function --- jedi/parsing_representation.py | 7 ------- 1 file changed, 7 deletions(-) diff --git a/jedi/parsing_representation.py b/jedi/parsing_representation.py index dbd03491..ddb182a4 100644 --- a/jedi/parsing_representation.py +++ b/jedi/parsing_representation.py @@ -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.