]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Fix: typo (Indention) (GH-99904)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Mon, 12 Dec 2022 12:40:09 +0000 (04:40 -0800)
committerGitHub <noreply@github.com>
Mon, 12 Dec 2022 12:40:09 +0000 (04:40 -0800)
commit24ed439462bdcbca6a23d0517970d9b5d195b2d6
tree71349c743c4c56fe1f9b471e1faeea7c1effe52f
parenteece1bdca7d04184a298a7045f389d89f3e5e8a8
Fix: typo (Indention) (GH-99904)

Example needed to be indented. Was trying to call a context manger `pr` (from ` with cProfile.Profile() as pr:`) wot perform ` pr.print_stats()` once it had already exited.
(cherry picked from commit 8711b59f7ac1803307d340e357e025043fbe2f39)

Co-authored-by: jarrodcolburn <jcourtlandcolburn@gmail.com>
Automerge-Triggered-By: GH:AlexWaygood
Doc/library/profile.rst