commit | 81a55c01b8bebf42f91d45a483b6c42f10b5506d | [log] [tgz] |
---|---|---|
author | Raymond Hettinger <python@rcn.com> | Wed Feb 01 13:32:45 2012 -0800 |
committer | Raymond Hettinger <python@rcn.com> | Wed Feb 01 13:32:45 2012 -0800 |
tree | 93e629c53e290bba2d0af487f2fbd4b1b1a3d5e3 | |
parent | 3c8807bd5e29139728ea1532d330a767f373bc00 [diff] [blame] |
Show the import in the sqlite3 example
diff --git a/Doc/library/sqlite3.rst b/Doc/library/sqlite3.rst index e36807c..b4d58b9 100644 --- a/Doc/library/sqlite3.rst +++ b/Doc/library/sqlite3.rst
@@ -22,6 +22,7 @@ represents the database. Here the data will be stored in the :file:`/tmp/example` file:: + import sqlite3 conn = sqlite3.connect('/tmp/example') You can also supply the special name ``:memory:`` to create a database in RAM.