def get_call(self, source): stmt = Parser(source, no_docstr=True).module.statements[0] return stmt.get_commands()[0]