File tree 1 file changed +2
-7
lines changed
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
213
213
214
214
.. index :: pair: module; signal
215
215
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.)
219
218
220
219
* Calling :func: `sys.exit ` or raising the :exc: `SystemExit ` exception is
221
220
equivalent to calling :func: `_thread.exit `.
@@ -229,7 +228,3 @@ In addition to these methods, lock objects can also be used via the
229
228
:keyword: `try ` ... :keyword: `finally ` clauses or executing object
230
229
destructors.
231
230
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