From a6ba2b901543f3006ecdb2ad8b18cb00439ff9b2 Mon Sep 17 00:00:00 2001 From: Matthew Suozzo Date: Wed, 16 Dec 2020 18:17:22 -0500 Subject: [PATCH] Fix indentation for get_stats_profile() docs (GH-23618) The existing method is indented one too many times which makes it look like a sub-method of print_callees(). --- Doc/library/profile.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/library/profile.rst b/Doc/library/profile.rst index 34525a96f55..7edabfde0d7 100644 --- a/Doc/library/profile.rst +++ b/Doc/library/profile.rst @@ -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