Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit e004c6c

Browse files
committed
Issue #22006: Remove outdated _thread caveat. Thanks Dan O'Reilly for the report.
1 parent 0069eac commit e004c6c

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

Doc/library/_thread.rst

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -176,10 +176,6 @@ In addition to these methods, lock objects can also be used via the
176176
* Calling :func:`sys.exit` or raising the :exc:`SystemExit` exception is
177177
equivalent to calling :func:`_thread.exit`.
178178

179-
* Not all built-in functions that may block waiting for I/O allow other threads
180-
to run. (The most popular ones (:func:`time.sleep`, :meth:`io.FileIO.read`,
181-
:func:`select.select`) work as expected.)
182-
183179
* It is not possible to interrupt the :meth:`acquire` method on a lock --- the
184180
:exc:`KeyboardInterrupt` exception will happen after the lock has been acquired.
185181

0 commit comments

Comments
 (0)