From 8fb311bf2b37f4b50eba9e1acaf001f4ad71b0df Mon Sep 17 00:00:00 2001 From: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com> Date: Tue, 9 Dec 2025 11:42:51 +0200 Subject: [PATCH 1/3] Restructure dashes to dots --- Doc/library/profiling.rst | 4 ++-- .../{profiling-sampling.rst => profiling.sampling.rst} | 0 Doc/library/{profiling-tracing.rst => profiling.tracing.rst} | 0 3 files changed, 2 insertions(+), 2 deletions(-) rename Doc/library/{profiling-sampling.rst => profiling.sampling.rst} (100%) rename Doc/library/{profiling-tracing.rst => profiling.tracing.rst} (100%) diff --git a/Doc/library/profiling.rst b/Doc/library/profiling.rst index 2636b73fb54bbb..4b56d9c4b7b1b8 100644 --- a/Doc/library/profiling.rst +++ b/Doc/library/profiling.rst @@ -266,5 +266,5 @@ continue to work without modification in all future Python versions. .. toctree:: :maxdepth: 1 - profiling-tracing.rst - profiling-sampling.rst + profiling.tracing.rst + profiling.sampling.rst diff --git a/Doc/library/profiling-sampling.rst b/Doc/library/profiling.sampling.rst similarity index 100% rename from Doc/library/profiling-sampling.rst rename to Doc/library/profiling.sampling.rst diff --git a/Doc/library/profiling-tracing.rst b/Doc/library/profiling.tracing.rst similarity index 100% rename from Doc/library/profiling-tracing.rst rename to Doc/library/profiling.tracing.rst From f766a5aa75fdfbc9f1253140437726d524f36e1e Mon Sep 17 00:00:00 2001 From: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com> Date: Tue, 9 Dec 2025 11:47:44 +0200 Subject: [PATCH 2/3] Use script.py like in other profiling docs --- Doc/library/profiling.tracing.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/library/profiling.tracing.rst b/Doc/library/profiling.tracing.rst index 4d43ecfbb6465e..6e6ba9173a1d2f 100644 --- a/Doc/library/profiling.tracing.rst +++ b/Doc/library/profiling.tracing.rst @@ -84,7 +84,7 @@ another script or module: .. code-block:: shell-session - python -m profiling.tracing [-o output_file] [-s sort_order] (-m module | myscript.py) + python -m profiling.tracing [-o output_file] [-s sort_order] (-m module | script.py) This runs the specified script or module under the profiler and prints the results to standard output (or saves them to a file). From d6675781d444c39a810c7ba5fe273502b964d646 Mon Sep 17 00:00:00 2001 From: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com> Date: Tue, 9 Dec 2025 11:55:57 +0200 Subject: [PATCH 3/3] Sentence case headings --- Doc/library/debug.rst | 2 +- Doc/library/superseded.rst | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Doc/library/debug.rst b/Doc/library/debug.rst index d8ca94768d02ba..f87c2481fb89cd 100644 --- a/Doc/library/debug.rst +++ b/Doc/library/debug.rst @@ -1,5 +1,5 @@ *********************** -Debugging and Profiling +Debugging and profiling *********************** These libraries help you with Python development: the debugger enables you to diff --git a/Doc/library/superseded.rst b/Doc/library/superseded.rst index ebbdce3ab35f86..b6b2f28d067299 100644 --- a/Doc/library/superseded.rst +++ b/Doc/library/superseded.rst @@ -1,7 +1,7 @@ .. _superseded: ****************** -Superseded Modules +Superseded modules ****************** The modules described in this chapter have been superseded by other modules