Skip to content

Commit 0685ed6

Browse files
committed
Doc: Apply keyword role around finally (in sys module doc)
1 parent e76464d commit 0685ed6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Doc/library/sys.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -523,7 +523,7 @@ always available. Unless explicitly noted otherwise, all variables are read-only
523523

524524
Since :func:`exit` ultimately "only" raises an exception, it will only exit
525525
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
526+
intercepted. Cleanup actions specified by :keyword:`finally` clauses of :keyword:`try` statements
527527
are honored, and it is possible to intercept the exit attempt at an outer level.
528528

529529
.. versionchanged:: 3.6

0 commit comments

Comments
 (0)