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 @@ -213,9 +213,8 @@ In addition to these methods, lock objects can also be used via the
213213
214214.. index :: pair: module; signal
215215
216- * Threads interact strangely with interrupts: the :exc: `KeyboardInterrupt `
217- exception will be received by an arbitrary thread. (When the :mod: `signal `
218- module is available, interrupts always go to the main thread.)
216+ * Interrupts always go to the main thread (the :exc: `KeyboardInterrupt `
217+ exception will be received by that thread.)
219218
220219* Calling :func: `sys.exit ` or raising the :exc: `SystemExit ` exception is
221220 equivalent to calling :func: `_thread.exit `.
@@ -229,7 +228,3 @@ In addition to these methods, lock objects can also be used via the
229228 :keyword: `try ` ... :keyword: `finally ` clauses or executing object
230229 destructors.
231230
232- * When the main thread exits, it does not do any of its usual cleanup (except
233- that :keyword: `try ` ... :keyword: `finally ` clauses are honored), and the
234- standard I/O files are not flushed.
235-
You can’t perform that action at this time.
0 commit comments