summaryrefslogtreecommitdiffstats
path: root/Doc/lib/sqlite3/executescript.py
diff options
context:
space:
mode:
Diffstat (limited to 'Doc/lib/sqlite3/executescript.py')
-rw-r--r--Doc/lib/sqlite3/executescript.py48
1 files changed, 24 insertions, 24 deletions
diff --git a/Doc/lib/sqlite3/executescript.py b/Doc/lib/sqlite3/executescript.py
index 2c04066..0795b47 100644
--- a/Doc/lib/sqlite3/executescript.py
+++ b/Doc/lib/sqlite3/executescript.py
@@ -1,24 +1,24 @@
-import sqlite3
-
-con = sqlite3.connect(":memory:")
-cur = con.cursor()
-cur.executescript("""
- create table person(
- firstname,
- lastname,
- age
- );
-
- create table book(
- title,
- author,
- published
- );
-
- insert into book(title, author, published)
- values (
- 'Dirk Gently''s Holistic Detective Agency
- 'Douglas Adams',
- 1987
- );
- """)
+import sqlite3
+
+con = sqlite3.connect(":memory:")
+cur = con.cursor()
+cur.executescript("""
+ create table person(
+ firstname,
+ lastname,
+ age
+ );
+
+ create table book(
+ title,
+ author,
+ published
+ );
+
+ insert into book(title, author, published)
+ values (
+ 'Dirk Gently''s Holistic Detective Agency
+ 'Douglas Adams',
+ 1987
+ );
+ """)