] # ### Recording my_sqrt() if __name__ == "__main__": print('\n### Recording my_sqrt()') if __package__ is None or __package__ == "": from Intro_Testing import my_sqrt else: from .Intro_Testing import my_sqrt if __name__ == "__main__": with CallCarver() as sqrt_carver: my_sqrt(2) my_sqrt(4) if __name__ == "__main__": sqrt_carver.calls() if __name__ == "__main__": sqrt_carver.called_functions() if __name__ == "__main__": sqrt_carver.arguments("my_sqrt") def simple_call_string(function_name, argument_list): """Return function_name(arg[0], arg[1], ...) as a string""" return function_name + "(" + \
if __name__ == "__main__": print('\n### Recording my_sqrt()') if __package__ is None or __package__ == "": from Intro_Testing import my_sqrt else: from .Intro_Testing import my_sqrt if __name__ == "__main__": with CallCarver() as sqrt_carver: my_sqrt(2) my_sqrt(4) if __name__ == "__main__": sqrt_carver.calls() if __name__ == "__main__": sqrt_carver.called_functions() if __name__ == "__main__": sqrt_carver.arguments("my_sqrt")