We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b4bc5ca commit 937fb55Copy full SHA for 937fb55
Doc/library/profile.rst
@@ -310,6 +310,11 @@ functions:
310
311
Profile ``func(*args, **kwargs)``
312
313
+Note that profiling will only work if the called command/function actually
314
+returns. If the interpreter is terminated (e.g. via a :func:`sys.exit` call
315
+during the called command/function execution) no profiling results will be
316
+printed.
317
+
318
.. _profile-stats:
319
320
The :class:`Stats` Class
0 commit comments