Debugger Python End Function If Statement