File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -523,8 +523,9 @@ always available. Unless explicitly noted otherwise, all variables are read-only
523
523
524
524
Since :func: `exit ` ultimately "only" raises an exception, it will only exit
525
525
the process when called from the main thread, and the exception is not
526
- intercepted. Cleanup actions specified by finally clauses of :keyword: `try ` statements
527
- are honored, and it is possible to intercept the exit attempt at an outer level.
526
+ intercepted. Cleanup actions specified by :keyword: `finally ` clauses of
527
+ :keyword: `try ` statements are honored, and it is possible to intercept the
528
+ exit attempt at an outer level.
528
529
529
530
.. versionchanged :: 3.6
530
531
If an error occurs in the cleanup after the Python interpreter
You can’t perform that action at this time.
0 commit comments