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 @@ -210,9 +210,8 @@ In addition to these methods, lock objects can also be used via the
210
210
211
211
.. index :: pair: module; signal
212
212
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.)
216
215
217
216
* Calling :func: `sys.exit ` or raising the :exc: `SystemExit ` exception is
218
217
equivalent to calling :func: `_thread.exit `.
@@ -226,7 +225,3 @@ In addition to these methods, lock objects can also be used via the
226
225
:keyword: `try ` ... :keyword: `finally ` clauses or executing object
227
226
destructors.
228
227
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