diff --git a/flask/app.py b/flask/app.py index fad49945..49c8fe10 100644 --- a/flask/app.py +++ b/flask/app.py @@ -718,7 +718,9 @@ class Flask(_PackageBoundObject): return f def teardown_request(self, f): - """Register a function to be run at the end of each request, regardless of whether there was an exception or not.""" + """Register a function to be run at the end of each request, + regardless of whether there was an exception or not. + """ self.teardown_request_funcs.setdefault(None, []).append(f) return f