From 353b5a8f9ce68ac3c64f12c0a20def5cf73e62b9 Mon Sep 17 00:00:00 2001 From: reregaga <76629445+reregaga@users.noreply.github.com> Date: Thu, 20 Oct 2022 21:25:35 +0300 Subject: [PATCH] Fix markup for subheader to maintaining a consistent look Fix markup for subheader: The with Statement to maintaining a consistent look with the previous headings for example: The `if` Statement --- exceptions.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/exceptions.md b/exceptions.md index c6a64395..6dee57dc 100644 --- a/exceptions.md +++ b/exceptions.md @@ -98,7 +98,7 @@ Notice that a variable assigned a value of 0 or `None` or a variable which is an Also note that we use `sys.stdout.flush()` after `print` so that it prints to the screen immediately. -## The with statement {#with} +## The `with` Statement {#with} Acquiring a resource in the `try` block and subsequently releasing the resource in the `finally` block is a common pattern. Hence, there is also a `with` statement that enables this to be done in a clean manner: