]> granicus.if.org Git - python/commitdiff
Show the import in the sqlite3 example
authorRaymond Hettinger <python@rcn.com>
Wed, 1 Feb 2012 21:32:45 +0000 (13:32 -0800)
committerRaymond Hettinger <python@rcn.com>
Wed, 1 Feb 2012 21:32:45 +0000 (13:32 -0800)
Doc/library/sqlite3.rst

index e36807c74d2c870a1e380cf8c3067c4fbbab6196..b4d58b9b6890ebe8c80bd026c993143f19559ce1 100644 (file)
@@ -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.