From 10f8dc18b8d43c2776c9381f681263778674bf0d Mon Sep 17 00:00:00 2001 From: Armin Ronacher Date: Thu, 7 Jul 2011 13:11:32 +0200 Subject: [PATCH] More doc updates --- flask/sessions.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/flask/sessions.py b/flask/sessions.py index abad920a..8f59a4f7 100644 --- a/flask/sessions.py +++ b/flask/sessions.py @@ -30,12 +30,14 @@ class SessionMixin(object): del _get_permanent, _set_permanent #: some session backends can tell you if a session is new, but that is - #: not necessarily guaranteed. Use with caution. + #: not necessarily guaranteed. Use with caution. The default mixin + #: implementation just hardcodes `False` in. new = False #: for some backends this will always be `True`, but some backends will #: default this to false and detect changes in the dictionary for as #: long as changes do not happen on mutable structures in the session. + #: The default mixin implementation just hardcodes `True` in. modified = True