Commit ecc71710 authored by Neal Norwitz's avatar Neal Norwitz

Add versionadded info for the 2 new threading module functions

parent 675580f4
...@@ -95,6 +95,7 @@ Set a trace function\index{trace function} for all threads started ...@@ -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 from the \module{threading} module. The \var{func} will be passed to
\function{sys.settrace()} for each thread, before its \method{run()} \function{sys.settrace()} for each thread, before its \method{run()}
method is called. method is called.
\versionadded{2.3}
\end{funcdesc} \end{funcdesc}
\begin{funcdesc}{setprofile}{func} \begin{funcdesc}{setprofile}{func}
...@@ -102,6 +103,7 @@ Set a profile function\index{profile function} for all threads started ...@@ -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 from the \module{threading} module. The \var{func} will be passed to
\function{sys.setprofile()} for each thread, before its \method{run()} \function{sys.setprofile()} for each thread, before its \method{run()}
method is called. method is called.
\versionadded{2.3}
\end{funcdesc} \end{funcdesc}
Detailed interfaces for the objects are documented below. Detailed interfaces for the objects are documented below.
......
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