Merge pull request #274 from ThomasWaldmann/patch-2

fixed typo
This commit is contained in:
Armin Ronacher 2011-07-10 11:21:09 -07:00
commit 76c8bb5f6c

View file

@ -157,7 +157,7 @@ request handling as they are bound to the lifecycle of the
popped, the :meth:`~flask.Flask.teardown_request` functions are called. popped, the :meth:`~flask.Flask.teardown_request` functions are called.
This is important to know if the life of the request context is prolonged This is important to know if the life of the request context is prolonged
by using the test client in a with statement of when using the request by using the test client in a with statement or when using the request
context from the command line:: context from the command line::
with app.test_client() as client: with app.test_client() as client: