[Python-checkins] Fix indentation for get_stats_profile() docs (GH-23618)

berkerpeksag webhook-mailer at python.org
Wed Dec 16 18:18:48 EST 2020


https://github.com/python/cpython/commit/2fba8445a4f31cb96d98bfcc5d5075e6c617187c
commit: 2fba8445a4f31cb96d98bfcc5d5075e6c617187c
branch: 3.9
author: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com>
committer: berkerpeksag <berker.peksag at gmail.com>
date: 2020-12-17T01:18:39+02:00
summary:

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 at google.com>

files:
M Doc/library/profile.rst

diff --git a/Doc/library/profile.rst b/Doc/library/profile.rst
index 34525a96f55c4..7edabfde0d7f1 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



More information about the Python-checkins mailing list