summaryrefslogtreecommitdiff
path: root/Doc/library
diff options
context:
space:
mode:
authorScott Sanderson <ssanderson@quantopian.com>2018-06-07 05:46:42 -0400
committerINADA Naoki <methane@users.noreply.github.com>2018-06-07 18:46:42 +0900
commitcebe80b59b7386db3cce904d280dab61d1037e7a (patch)
tree5565600350aead9bc48139ff28562e870894a0d0 /Doc/library
parentfffeb6f3d66f1c844a9327ffe6e2ad8eae8aeb14 (diff)
downloadcpython-git-cebe80b59b7386db3cce904d280dab61d1037e7a.tar.gz
bpo-29235: Update document for Profiler's context manager (GH-7331)
Diffstat (limited to 'Doc/library')
-rw-r--r--Doc/library/profile.rst3
1 files changed, 3 insertions, 0 deletions
diff --git a/Doc/library/profile.rst b/Doc/library/profile.rst
index 7b60426fbc..5e33efe1c1 100644
--- a/Doc/library/profile.rst
+++ b/Doc/library/profile.rst
@@ -272,6 +272,9 @@ functions:
pr.print_stats()
+ .. versionchanged:: 3.8
+ Added context manager support.
+
.. method:: enable()
Start collecting profiling data.