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.