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 7c6e82d commit f09e84eCopy full SHA for f09e84e
Lib/profiling/sampling/cli.py
@@ -299,7 +299,7 @@ def _parse_sampling_rate(rate_str: str) -> int:
299
if not match:
300
raise argparse.ArgumentTypeError(
301
f"Invalid sampling rate format: {rate_str}. "
302
- "Expected: number followed by optional suffix (hz, khz, k)"
+ "Expected: number followed by optional suffix (hz, khz, k) with no spaces (e.g., 10khz)"
303
)
304
305
number_part = match.group(1)
0 commit comments