Issue #22006: Remove outdated _thread caveat. Thanks Dan O'Reilly for the report.

This commit is contained in:
Mark Dickinson 2014-07-19 21:45:06 +01:00
parent 0069eac0e5
commit e004c6cad5
1 changed files with 0 additions and 4 deletions

View File

@ -176,10 +176,6 @@ In addition to these methods, lock objects can also be used via the
* Calling :func:`sys.exit` or raising the :exc:`SystemExit` exception is * Calling :func:`sys.exit` or raising the :exc:`SystemExit` exception is
equivalent to calling :func:`_thread.exit`. equivalent to calling :func:`_thread.exit`.
* Not all built-in functions that may block waiting for I/O allow other threads
to run. (The most popular ones (:func:`time.sleep`, :meth:`io.FileIO.read`,
:func:`select.select`) work as expected.)
* It is not possible to interrupt the :meth:`acquire` method on a lock --- the * It is not possible to interrupt the :meth:`acquire` method on a lock --- the
:exc:`KeyboardInterrupt` exception will happen after the lock has been acquired. :exc:`KeyboardInterrupt` exception will happen after the lock has been acquired.