Skip to content

Commit 75413e4

Browse files
committed
Update CLI module references for profiling restructure
Point cProfile to profiling.tracing docs and add profiling.sampling to the list of modules with CLI interfaces. The old profile-cli label no longer exists after the documentation restructure.
1 parent 9da3576 commit 75413e4

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Doc/library/cmdline.rst

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ The following modules have a command-line interface.
1212
* :ref:`calendar <calendar-cli>`
1313
* :mod:`code`
1414
* :ref:`compileall <compileall-cli>`
15-
* :mod:`cProfile`: see :ref:`profile <profile-cli>`
15+
* :mod:`cProfile`: see :ref:`profiling.tracing <profiling-tracing-cli>`
1616
* :ref:`dis <dis-cli>`
1717
* :ref:`doctest <doctest-cli>`
1818
* :mod:`!encodings.rot_13`
@@ -31,7 +31,8 @@ The following modules have a command-line interface.
3131
* :ref:`pickletools <pickletools-cli>`
3232
* :ref:`platform <platform-cli>`
3333
* :mod:`poplib`
34-
* :ref:`profile <profile-cli>`
34+
* :ref:`profiling.sampling <profiling-sampling>`
35+
* :ref:`profiling.tracing <profiling-tracing-cli>`
3536
* :mod:`pstats`
3637
* :ref:`py_compile <py_compile-cli>`
3738
* :mod:`pyclbr`

0 commit comments

Comments
 (0)