@@ -51,7 +51,7 @@ collect data, and detach without the application ever knowing it was observed.
5151The trade-off is that very short-lived functions may be missed if they happen
5252to complete between samples.
5353
54- Statistical profiling excels at answering the question "where is my program
54+ Statistical profiling excels at answering the question, "Where is my program
5555spending time?" It reveals hotspots and bottlenecks in production code where
5656deterministic profiling overhead would be unacceptable. For exact call counts
5757and complete call graphs, use :mod: `profiling.tracing ` instead.
@@ -530,7 +530,7 @@ data, similar to the ``top`` command for system processes::
530530 python -m profiling.sampling attach --live 12345
531531
532532The display updates continuously as new samples arrive, showing the current
533- hottest functions. This mode requires the `` curses ` ` module, which is
533+ hottest functions. This mode requires the :mod: ` curses ` module, which is
534534available on Unix-like systems. The terminal must be at least 80 columns wide
535535and 24 lines tall.
536536
@@ -573,14 +573,14 @@ Within live mode, keyboard commands control the display:
573573 Show the help screen with all available commands.
574574
575575Live mode is incompatible with output format options (``--collapsed ``,
576- ``--flamegraph ``, etc. ) because it uses an interactive terminal interface
577- rather than producing file output.
576+ ``--flamegraph ``, and so on ) because it uses an interactive terminal
577+ interface rather than producing file output.
578578
579579
580580Async-Aware Profiling
581581=====================
582582
583- For programs using `` asyncio ` `, the profiler offers async-aware mode
583+ For programs using :mod: ` asyncio `, the profiler offers async-aware mode
584584(``--async-aware ``) that reconstructs call stacks based on the task structure
585585rather than the raw Python frames::
586586
0 commit comments