Skip to content
Myr

More docstrings for the session mixin

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Armin Ronacher · committed by Armin Ronacher · parent 5cbfbd2 · Browse files · 1 file+7 added−0 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+7 added−0 removed

  • other:+7 added−0 removed

1 file+7 added−0 removed

modified:flask/sessions.py+7 added
23 unmodified lines
2425 def _set_permanent(self, value):26 self['_permanent'] = bool(value)2728 #: this reflects the ``'_permanent'`` key in the dict.29 permanent = property(_get_permanent, _set_permanent)30 del _get_permanent, _set_permanent3132 #: some session backends can tell you if a session is new, but that is33 #: not necessarily guaranteed. Use with caution.34 new = False3536 #: for some backends this will always be `True`, but some backends will37 #: default this to false and detect changes in the dictionary for as38 #: long as changes do not happen on mutable structures in the session.39 modified = True404142class SecureCookieSession(SecureCookie, SessionMixin):
133 unmodified lines