diff --git a/Doc/lib/libthreading.tex b/Doc/lib/libthreading.tex index ad48feb5ec07f8c13ccaec83c74e02530ad330d3..d3a73229055967f591c859c20a1048a485998986 100644 --- a/Doc/lib/libthreading.tex +++ b/Doc/lib/libthreading.tex @@ -91,16 +91,16 @@ A thread that executes a function after a specified interval has passed. \end{classdesc*} \begin{funcdesc}{settrace}{func} -Set a trace function \index{trace function} for all threads started +Set a trace function\index{trace function} for all threads started from the \module{threading} module. The \var{func} will be passed to -\cfuntion{sys.settrace} for each thread, before its \method{run} +\function{sys.settrace()} for each thread, before its \method{run()} method is called. \end{funcdesc} \begin{funcdesc}{setprofile}{func} -Set a profile function \index{profile function} for all threads started +Set a profile function\index{profile function} for all threads started from the \module{threading} module. The \var{func} will be passed to -\cfuntion{sys.setprofile} for each thread, before its \method{run} +\function{sys.setprofile()} for each thread, before its \method{run()} method is called. \end{funcdesc}