Commit a29ff81
pythongh-142927: Clarify pstats file output in docs and CLI (python#143388)
When running the `profiling.sampling` module in pstats mode, the output
can be emitted in two different ways: text to stdout or a binary file
when the `--output` argument is set.
The current documentation and help text is confusing as it does not
distinguish between these two output formats so it may be surprising to
the user to get different formats depending whether `--output` is set or not.1 parent 8ede7a5 commit a29ff81
2 files changed
Lines changed: 10 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
878 | 878 | | |
879 | 879 | | |
880 | 880 | | |
881 | | - | |
| 881 | + | |
882 | 882 | | |
883 | | - | |
| 883 | + | |
884 | 884 | | |
885 | 885 | | |
886 | 886 | | |
| |||
1455 | 1455 | | |
1456 | 1456 | | |
1457 | 1457 | | |
1458 | | - | |
| 1458 | + | |
| 1459 | + | |
| 1460 | + | |
1459 | 1461 | | |
1460 | 1462 | | |
1461 | 1463 | | |
| |||
1486 | 1488 | | |
1487 | 1489 | | |
1488 | 1490 | | |
1489 | | - | |
1490 | | - | |
| 1491 | + | |
| 1492 | + | |
| 1493 | + | |
1491 | 1494 | | |
1492 | 1495 | | |
1493 | 1496 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
489 | 489 | | |
490 | 490 | | |
491 | 491 | | |
492 | | - | |
493 | | - | |
| 492 | + | |
| 493 | + | |
494 | 494 | | |
495 | 495 | | |
496 | 496 | | |
| |||
0 commit comments