mirror of
https://github.com/python/cpython.git
synced 2025-08-02 16:13:13 +00:00
Add versionadded info for the 2 new threading module functions
This commit is contained in:
parent
675580f4fc
commit
ecc7171007
1 changed files with 2 additions and 0 deletions
|
@ -95,6 +95,7 @@ Set a trace function\index{trace function} for all threads started
|
|||
from the \module{threading} module. The \var{func} will be passed to
|
||||
\function{sys.settrace()} for each thread, before its \method{run()}
|
||||
method is called.
|
||||
\versionadded{2.3}
|
||||
\end{funcdesc}
|
||||
|
||||
\begin{funcdesc}{setprofile}{func}
|
||||
|
@ -102,6 +103,7 @@ Set a profile function\index{profile function} for all threads started
|
|||
from the \module{threading} module. The \var{func} will be passed to
|
||||
\function{sys.setprofile()} for each thread, before its \method{run()}
|
||||
method is called.
|
||||
\versionadded{2.3}
|
||||
\end{funcdesc}
|
||||
|
||||
Detailed interfaces for the objects are documented below.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue