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 9b22f1e commit 890474dCopy full SHA for 890474d
1 file changed
Lib/profiling/sampling/sample.py
@@ -642,7 +642,7 @@ def sample(
642
case _:
643
raise ValueError(f"Invalid output format: {output_format}")
644
645
- profiler.sample(collector, async_aware, duration_sec)
+ profiler.sample(collector, duration_sec, async_aware=async_aware)
646
647
if output_format == "pstats" and not filename:
648
stats = pstats.SampledStats(collector).strip_dirs()
0 commit comments