Browse Source

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

pull/224/head
Mark Dickinson 12 years ago
parent
commit
e004c6cad5
  1. 4
      Doc/library/_thread.rst

4
Doc/library/_thread.rst

@ -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
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
:exc:`KeyboardInterrupt` exception will happen after the lock has been acquired.

Loading…
Cancel
Save