From b259a80cdeae4fb6a7b733249c446d1ba54649a7 Mon Sep 17 00:00:00 2001 From: Pedro Torcatt Date: Wed, 22 Sep 2021 11:46:28 -0400 Subject: [PATCH] Fix grammatical error --- src/flask/scaffold.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/flask/scaffold.py b/src/flask/scaffold.py index 42eabcfc..cbe76cb1 100644 --- a/src/flask/scaffold.py +++ b/src/flask/scaffold.py @@ -589,8 +589,8 @@ class Scaffold: stack of active contexts. This becomes relevant if you are using such constructs in tests. - Teardown functions must avoid raising exceptions, since they . If they - execute code that might fail they + Teardown functions must avoid raising exceptions, because if + they execute code that might fail they will have to surround the execution of these code by try/except statements and log occurring errors.