summaryrefslogtreecommitdiffstats
path: root/Doc/library/profile.rst
diff options
context:
space:
mode:
Diffstat (limited to 'Doc/library/profile.rst')
-rw-r--r--Doc/library/profile.rst2
1 files changed, 2 insertions, 0 deletions
diff --git a/Doc/library/profile.rst b/Doc/library/profile.rst
index 723f927..69274b0 100644
--- a/Doc/library/profile.rst
+++ b/Doc/library/profile.rst
@@ -121,6 +121,8 @@ results to a file by specifying a filename to the :func:`run` function::
The :class:`pstats.Stats` class reads profile results from a file and formats
them in various ways.
+.. _profile-cli:
+
The files :mod:`cProfile` and :mod:`profile` can also be invoked as a script to
profile another script. For example::