Browse Source

Update sessions.py

get_cookie_path: fix docstring
pull/838/head
enkore 11 years ago
parent
commit
f5d38dc4fc
  1. 2
      flask/sessions.py

2
flask/sessions.py

@ -223,7 +223,7 @@ class SessionInterface(object):
def get_cookie_path(self, app): def get_cookie_path(self, app):
"""Returns the path for which the cookie should be valid. The """Returns the path for which the cookie should be valid. The
default implementation uses the value from the SESSION_COOKIE_PATH`` default implementation uses the value from the ``SESSION_COOKIE_PATH``
config var if it's set, and falls back to ``APPLICATION_ROOT`` or config var if it's set, and falls back to ``APPLICATION_ROOT`` or
uses ``/`` if it's `None`. uses ``/`` if it's `None`.
""" """

Loading…
Cancel
Save