diff options
Diffstat (limited to 'Lib')
-rwxr-xr-x | Lib/profile.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/profile.py b/Lib/profile.py index b58af1e..9167905 100755 --- a/Lib/profile.py +++ b/Lib/profile.py @@ -241,7 +241,7 @@ class Profile: def trace_dispatch_exception(self, frame, t): rt, rtt, rct, rfn, rframe, rcur = self.cur - if (rframe is frame) and rcur: + if (rframe is not frame) and rcur: return self.trace_dispatch_return(rframe, t) return 0 |