summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Suozzo <msuozzo@google.com>2020-12-16 23:17:22 (GMT)
committerGitHub <noreply@github.com>2020-12-16 23:17:22 (GMT)
commita6ba2b901543f3006ecdb2ad8b18cb00439ff9b2 (patch)
tree19814b1f64d57cf9020727417feba655c6c4392b
parent051b9818671625d125dee8198e0d2af5ad4c85b8 (diff)
downloadcpython-a6ba2b901543f3006ecdb2ad8b18cb00439ff9b2.zip
cpython-a6ba2b901543f3006ecdb2ad8b18cb00439ff9b2.tar.gz
cpython-a6ba2b901543f3006ecdb2ad8b18cb00439ff9b2.tar.bz2
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().
-rw-r--r--Doc/library/profile.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/profile.rst b/Doc/library/profile.rst
index 34525a9..7edabfd 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