summaryrefslogtreecommitdiffstats
path: root/Doc/library/profile.rst
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2020-12-16 23:18:39 (GMT)
committerGitHub <noreply@github.com>2020-12-16 23:18:39 (GMT)
commit2fba8445a4f31cb96d98bfcc5d5075e6c617187c (patch)
tree0e827a035e37f53cf23165f0f738816cff4863b5 /Doc/library/profile.rst
parent78062e07bc7c3b47ffdcdec786b259dda376370c (diff)
downloadcpython-2fba8445a4f31cb96d98bfcc5d5075e6c617187c.zip
cpython-2fba8445a4f31cb96d98bfcc5d5075e6c617187c.tar.gz
cpython-2fba8445a4f31cb96d98bfcc5d5075e6c617187c.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(). (cherry picked from commit a6ba2b901543f3006ecdb2ad8b18cb00439ff9b2) Co-authored-by: Matthew Suozzo <msuozzo@google.com>
Diffstat (limited to 'Doc/library/profile.rst')
-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