File tree Expand file tree Collapse file tree 1 file changed +2
-7
lines changed
Expand file tree Collapse file tree 1 file changed +2
-7
lines changed Original file line number Diff line number Diff line change @@ -210,9 +210,8 @@ In addition to these methods, lock objects can also be used via the
210210
211211.. index :: pair: module; signal
212212
213- * Threads interact strangely with interrupts: the :exc: `KeyboardInterrupt `
214- exception will be received by an arbitrary thread. (When the :mod: `signal `
215- module is available, interrupts always go to the main thread.)
213+ * Interrupts always go to the main thread (the :exc: `KeyboardInterrupt `
214+ exception will be received by that thread.)
216215
217216* Calling :func: `sys.exit ` or raising the :exc: `SystemExit ` exception is
218217 equivalent to calling :func: `_thread.exit `.
@@ -226,7 +225,3 @@ In addition to these methods, lock objects can also be used via the
226225 :keyword: `try ` ... :keyword: `finally ` clauses or executing object
227226 destructors.
228227
229- * When the main thread exits, it does not do any of its usual cleanup (except
230- that :keyword: `try ` ... :keyword: `finally ` clauses are honored), and the
231- standard I/O files are not flushed.
232-
You can’t perform that action at this time.
0 commit comments