From a45fce84960e3b97fe3ecc2f11de1ba613b8c5c4 Mon Sep 17 00:00:00 2001 From: Chris Rebert Date: Thu, 5 Feb 2015 12:32:47 -0800 Subject: [PATCH] fix grammar in preprocess_request() docstring --- flask/app.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/flask/app.py b/flask/app.py index 2f273592..1aac95eb 100644 --- a/flask/app.py +++ b/flask/app.py @@ -1710,8 +1710,9 @@ class Flask(_PackageBoundObject): def preprocess_request(self): """Called before the actual request dispatching and will - call every as :meth:`before_request` decorated function. - If any of these function returns a value it's handled as + call each :meth:`before_request` decorated function, passing no + arguments. + If any of these functions returns a value, it's handled as if it was the return value from the view and further request handling is stopped.