Correct documentation of check interval - it's 100 by default, not 10 any

longer.  Pointed out by Alex Martelli.
This commit is contained in:
Skip Montanaro 2003-07-02 21:38:34 +00:00
parent 74902508dc
commit eec26f982a
3 changed files with 4 additions and 4 deletions

View file

@ -348,7 +348,7 @@ Therefore, the rule exists that only the thread that has acquired the
global interpreter lock may operate on Python objects or call Python/C
API functions. In order to support multi-threaded Python programs,
the interpreter regularly releases and reacquires the lock --- by
default, every ten bytecode instructions (this can be changed with
default, every 100 bytecode instructions (this can be changed with
\withsubitem{(in module sys)}{\ttindex{setcheckinterval()}}
\function{sys.setcheckinterval()}). The lock is also released and
reacquired around potentially blocking I/O operations like reading or