diff --git a/Doc/library/profile.rst b/Doc/library/profile.rst index cf324a57e79fdf..6f01d1e027ec8c 100644 --- a/Doc/library/profile.rst +++ b/Doc/library/profile.rst @@ -273,7 +273,7 @@ functions: with cProfile.Profile() as pr: # ... do something ... - pr.print_stats() + pr.print_stats() .. versionchanged:: 3.8 Added context manager support.