]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Fix indentation for get_stats_profile() docs (GH-23618)
authorMatthew Suozzo <msuozzo@google.com>
Wed, 16 Dec 2020 23:17:22 +0000 (18:17 -0500)
committerGitHub <noreply@github.com>
Wed, 16 Dec 2020 23:17:22 +0000 (01:17 +0200)
The existing method is indented one too many times which
makes it look like a sub-method of print_callees().

Doc/library/profile.rst

index 34525a96f55c43682a770b601896d82edc59afc3..7edabfde0d7f18848450c9c2c6179de3a9a2b8fc 100644 (file)
@@ -525,7 +525,7 @@ Analysis of the profiler data is done using the :class:`~pstats.Stats` class.
       ordering are identical to the :meth:`~pstats.Stats.print_callers` method.
 
 
-    .. method:: get_stats_profile()
+   .. method:: get_stats_profile()
 
       This method returns an instance of StatsProfile, which contains a mapping
       of function names to instances of FunctionProfile. Each FunctionProfile