mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
bpo-5978: Document that profiling needs cmd/function to return (GH-7938)
<!-- issue-number: bpo-5978 --> https://bugs.python.org/issue5978 <!-- /issue-number -->
This commit is contained in:
parent
b4bc5cab82
commit
937fb55d35
1 changed files with 5 additions and 0 deletions
|
@ -310,6 +310,11 @@ functions:
|
|||
|
||||
Profile ``func(*args, **kwargs)``
|
||||
|
||||
Note that profiling will only work if the called command/function actually
|
||||
returns. If the interpreter is terminated (e.g. via a :func:`sys.exit` call
|
||||
during the called command/function execution) no profiling results will be
|
||||
printed.
|
||||
|
||||
.. _profile-stats:
|
||||
|
||||
The :class:`Stats` Class
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue