def get_callable_from_line(self, module_file, lineno):
module_name = _get_module_name_from_fname(module_file)<EOL>if module_name not in self._modules_dict:<EOL><INDENT>self.trace([module_file])<EOL><DEDENT>ret = None<EOL>iobj = sorted(self._modules_dict[module_name], key=lambda x: x["<STR_LIT>"][<NUM_LIT:1>])<EOL>for value in iobj:<EOL><INDENT>if value["<STR_LIT>"][<NUM_LIT:1>] <= lineno <= value["<STR_LIT>"]:<EOL><INDENT>ret = value["<STR_LIT:name>"]<EOL><DEDENT>elif value["<STR_LIT>"][<NUM_LIT:1>] > lineno:<EOL><INDENT>break<EOL><DEDENT><DEDENT>return ret if ret else module_name<EOL>
Get the callable that the line number belongs to.