Skip to content

Commit

Permalink
Merge pull request #1096 from slater/patch-1
Browse files Browse the repository at this point in the history
Update dbcon.rst
  • Loading branch information
kennethreitz committed Jun 30, 2014
2 parents 6f990f6 + 171253a commit 0ce47a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/tutorial/dbcon.rst
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ decorator. It's executed every time the application context tears down::
Functions marked with :meth:`~flask.Flask.teardown_appcontext` are called
every time the app context tears down. So what does this mean?
Essentially the app context is created before the request comes in and is
destroyed (teared down) whenever the request finishes. A teardown can
destroyed (torn down) whenever the request finishes. A teardown can
happen because of two reasons: either everything went well (the error
parameter will be `None`) or an exception happened in which case the error
is passed to the teardown function.
Expand Down

0 comments on commit 0ce47a3

Please sign in to comment.