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.

Automerge-Triggered-By: GH:AlexWaygood
This commit is contained in:
jarrodcolburn 2022-12-12 06:25:22 -06:00 committed by GitHub
parent 3221b0de67
commit 8711b59f7a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -274,7 +274,7 @@ functions:
with cProfile.Profile() as pr:
# ... do something ...
pr.print_stats()
pr.print_stats()
.. versionchanged:: 3.8
Added context manager support.