def throw(text): raise Exception(text) def a(): throw('a') def b(): throw('b') a()
Standard input is empty
Standard output is empty
Traceback (most recent call last): File "prog.py", line 10, in <module> File "prog.py", line 5, in a File "prog.py", line 2, in throw Exception: a