mirror of
https://github.com/python/cpython.git
synced 2024-11-24 02:15:30 +08:00
Added a paragraph to explain that SchedParams(0, 0) is usually what
you want.
This commit is contained in:
parent
e7c38d48ff
commit
d22eb59535
@ -60,6 +60,9 @@ value of this function is a tuple with the old values of these options.
|
||||
Initial defaults are that all processing is enabled, checking is done every
|
||||
quarter second and the processor is given up for a quarter second when in the
|
||||
background.
|
||||
|
||||
The most common use case is to call \code{SchedParams(0, 0)} to completely disable
|
||||
event handling in the interpreter mainloop.
|
||||
\end{funcdesc}
|
||||
|
||||
\begin{funcdesc}{HandleEvent}{ev}
|
||||
|
Loading…
Reference in New Issue
Block a user