]> 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:38:39 +0000 (04:38 -0800)
committerGitHub <noreply@github.com>
Mon, 12 Dec 2022 12:38:39 +0000 (04:38 -0800)
commit60383a3cd8739cf386ed64477924d0ccca00fe9a
treebb327be33be7906e4a95583639f955b102ee933b
parent17bc55e0430f2fd08bd006364bd127ae1ff63161
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