Armin Ronacher  committed 3e9f4e2

Updated a comment that was misleading with recent flask sqlalchemy installations

  • Participants
  • Parent commits f34c028
  • Branches master

Comments (0)

Files changed (1)

File flask/

         # on the stack.  The rationale is that you want to access that
         # information under debug situations.  However if someone forgets to
         # pop that context again we want to make sure that on the next push
-        # it's invalidated otherwise we run at risk that something leaks
+        # it's invalidated, otherwise we run at risk that something leaks
         # memory.  This is usually only a problem in testsuite since this
         # functionality is not active in production environments.
         top =
         # Open the session at the moment that the request context is
         # available. This allows a custom open_session method to use the
-        # request context (e.g. flask-sqlalchemy).
+        # request context (e.g. code that access database information
+        # stored on `g` instead of the appcontext).
         self.session =
         if self.session is None:
             self.session =