Skip to content

Commit

Permalink
Touch up dbinit tutorial doc.
Browse files Browse the repository at this point in the history
Discussion on #pocoo with svenstaro, dAnjou, noob13.
  • Loading branch information
rduplain committed Jul 4, 2012
1 parent c7cdb2f commit ea2a062
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions docs/tutorial/dbinit.rst
Expand Up @@ -24,8 +24,7 @@ If you want to do that, you first have to import the
:func:`contextlib.closing` function from the contextlib package. If you
want to use Python 2.5 it's also necessary to enable the `with` statement
first (`__future__` imports must be the very first import). Accordingly,
the following lines should be to your existing import lines in
`flaskr.py`::
add the following lines to your existing imports in `flaskr.py`::

from __future__ import with_statement
from contextlib import closing
Expand Down

0 comments on commit ea2a062

Please sign in to comment.