From 81a55c01b8bebf42f91d45a483b6c42f10b5506d Mon Sep 17 00:00:00 2001 From: Raymond Hettinger Date: Wed, 1 Feb 2012 13:32:45 -0800 Subject: [PATCH] Show the import in the sqlite3 example --- Doc/library/sqlite3.rst | 1 + 1 file changed, 1 insertion(+) diff --git a/Doc/library/sqlite3.rst b/Doc/library/sqlite3.rst index e36807c74d2..b4d58b9b689 100644 --- a/Doc/library/sqlite3.rst +++ b/Doc/library/sqlite3.rst @@ -22,6 +22,7 @@ To use the module, you must first create a :class:`Connection` object that 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.