Please sign in to comment.
- Loading branch information...
Showing with 7 additions and 8 deletions.
|@@ -1,8 +1,2 @@|
|The :class:`cProfile.Profile` class can now be used as a context manager.|
|You can profile a block of code by running::|
|with cProfile.Profile() as profiler:|
|# ... code to be profiled ...|
|Patch by Scott Sanderson.|
|The :class:`cProfile.Profile` class can now be used as a context manager. Patch|
|by Scott Sanderson.|