Fixed a typo that was preventing second code block from appearing in a code block

Signed-off-by: Armin Ronacher <armin.ronacher@active-4.com>
This commit is contained in:
Kanak Kshetri 2011-03-31 15:53:17 -04:00 committed by Armin Ronacher
parent 709ecefee1
commit 0e4cd2e651

View file

@ -24,7 +24,7 @@ db connection in the interactive debugger::
return response return response
If you want to guarantee that the connection is always closed in debug mode, you If you want to guarantee that the connection is always closed in debug mode, you
can close it in a function decorated with :meth:`~flask.Flask.teardown_request`: can close it in a function decorated with :meth:`~flask.Flask.teardown_request`::
@app.before_request @app.before_request
def before_request(): def before_request():