Kaydet (Commit) 937fb55d authored tarafından Andrés Delfino's avatar Andrés Delfino Kaydeden (comit) Christian Heimes

bpo-5978: Document that profiling needs cmd/function to return (GH-7938)

<!-- issue-number: bpo-5978 -->
https://bugs.python.org/issue5978
<!-- /issue-number -->
üst b4bc5cab
...@@ -310,6 +310,11 @@ functions: ...@@ -310,6 +310,11 @@ functions:
Profile ``func(*args, **kwargs)`` 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: .. _profile-stats:
The :class:`Stats` Class The :class:`Stats` Class
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment