diff --git a/Doc/library/profile.rst b/Doc/library/profile.rst index 3334833eba6b8c..c415615150263e 100644 --- a/Doc/library/profile.rst +++ b/Doc/library/profile.rst @@ -44,6 +44,12 @@ profiling interface: but not for C-level functions, and so the C code would seem faster than any Python one. +.. note:: + + Only one profiler can be active at any given time. + Attemting to enable a profiler while another one is already in use will + result in a :exc:`ValueError`. + .. _profile-instant: