We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0360a72 commit 4fa0832Copy full SHA for 4fa0832
Lib/profile/stack_collector.py
@@ -11,7 +11,7 @@ def __init__(self):
11
12
def collect(self, stack_frames):
13
for thread_id, frames in stack_frames:
14
- if frames and len(frames) > 0:
+ if frames:
15
# Store the complete call stack (reverse order - root first)
16
call_tree = list(reversed(frames))
17
self.call_trees.append(call_tree)
0 commit comments