summaryrefslogtreecommitdiff
path: root/Lib/inspect.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/inspect.py')
-rw-r--r--Lib/inspect.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/Lib/inspect.py b/Lib/inspect.py
index 57f991c598..ef813a61f5 100644
--- a/Lib/inspect.py
+++ b/Lib/inspect.py
@@ -620,7 +620,6 @@ def getinnerframes(tb, context=1):
Each record contains a frame object, filename, line number, function
name, a list of lines of context, and index within the context."""
- tb = tb.tb_next
framelist = []
while tb:
framelist.append((tb.tb_frame,) + getframeinfo(tb, context))