Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4ef51fa commit 921f61bCopy full SHA for 921f61b
1 file changed
Doc/library/sys.rst
@@ -523,8 +523,9 @@ always available. Unless explicitly noted otherwise, all variables are read-only
523
524
Since :func:`exit` ultimately "only" raises an exception, it will only exit
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.
+ intercepted. Cleanup actions specified by :keyword:`finally` clauses of
+ :keyword:`try` statements are honored, and it is possible to intercept the
528
+ exit attempt at an outer level.
529
530
.. versionchanged:: 3.6
531
If an error occurs in the cleanup after the Python interpreter
0 commit comments