summaryrefslogtreecommitdiffstats
path: root/Lib/profile.py
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2001-10-03 21:12:32 (GMT)
committerFred Drake <fdrake@acm.org>2001-10-03 21:12:32 (GMT)
commita0bc9993e77afc32660082a392f9af7fef428648 (patch)
tree04b4f018762a544b2b5ed68c8f70dcd840b26167 /Lib/profile.py
parent57fc21018f570b708a898f858d8fe4706d504812 (diff)
downloadcpython-a0bc9993e77afc32660082a392f9af7fef428648.zip
cpython-a0bc9993e77afc32660082a392f9af7fef428648.tar.gz
cpython-a0bc9993e77afc32660082a392f9af7fef428648.tar.bz2
Undo previous patch; it did not quite work out.
Diffstat (limited to 'Lib/profile.py')
-rwxr-xr-xLib/profile.py2
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