Skip to content

Commit cb6a43d

Browse files
committed
fixup! fixup! Merge remote-tracking branch 'upstream/main' into cputime
1 parent 9685f2d commit cb6a43d

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

Lib/profiling/sampling/stack_collector.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,7 @@ class StackTraceCollector(Collector):
1414
def __init__(self, *, skip_idle=False):
1515
self.skip_idle = skip_idle
1616

17-
def collect(self, stack_frames, skip_idle=None):
18-
if skip_idle is None:
19-
skip_idle = self.skip_idle
20-
17+
def collect(self, stack_frames, skip_idle=False):
2118
for frames in self._iter_all_frames(stack_frames, skip_idle=skip_idle):
2219
if not frames:
2320
continue

0 commit comments

Comments
 (0)