diff options
| author | Mark Dickinson <dickinsm@gmail.com> | 2014-07-19 20:47:13 (GMT) |
|---|---|---|
| committer | Mark Dickinson <dickinsm@gmail.com> | 2014-07-19 20:47:13 (GMT) |
| commit | 70beff110536c29ca47fcbd28c147183fa1920c9 (patch) | |
| tree | 1046aacbcfca3726842825b68604ebfe7fd404f7 /Doc | |
| parent | ee5729dbf978c9d1ee78974b84be9cd02a2bc117 (diff) | |
| download | cpython-70beff110536c29ca47fcbd28c147183fa1920c9.zip cpython-70beff110536c29ca47fcbd28c147183fa1920c9.tar.gz cpython-70beff110536c29ca47fcbd28c147183fa1920c9.tar.bz2 | |
Issue #22006: Remove outdated thread module caveat. Thanks Dan O'Reilly for the report.
Diffstat (limited to 'Doc')
| -rw-r--r-- | Doc/library/thread.rst | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/Doc/library/thread.rst b/Doc/library/thread.rst index 15859d1..8a625f8 100644 --- a/Doc/library/thread.rst +++ b/Doc/library/thread.rst @@ -159,10 +159,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:`file.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. |
