From 05ad436201f8c835ac2a5a317e5cb5fe5e0f3e21 Mon Sep 17 00:00:00 2001 From: Aaron Schumacher Date: Thu, 28 Aug 2014 13:35:53 -0400 Subject: [PATCH] typo: "weather" -> "whether" --- flask/sessions.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flask/sessions.py b/flask/sessions.py index 4a7814d7..a7173d67 100644 --- a/flask/sessions.py +++ b/flask/sessions.py @@ -255,7 +255,7 @@ class SessionInterface(object): return datetime.utcnow() + app.permanent_session_lifetime def should_set_cookie(self, app, session): - """Indicates weather a cookie should be set now or not. This is + """Indicates whether a cookie should be set now or not. This is used by session backends to figure out if they should emit a set-cookie header or not. The default behavior is controlled by the ``SESSION_REFRESH_EACH_REQUEST`` config variable. If