diff Doc/lib/sqlite3/execsql_printall_1.py @ 38197:204ec383b445 legacy-trunk

Text files missing the SVN eol-style property.
author Tim Peters <tim.peters@gmail.com>
date Tue, 16 May 2006 23:24:08 +0000
parents cf19a123a5d9
children
line wrap: on
line diff
--- a/Doc/lib/sqlite3/execsql_printall_1.py	Tue May 16 23:22:20 2006 +0000
+++ b/Doc/lib/sqlite3/execsql_printall_1.py	Tue May 16 23:24:08 2006 +0000
@@ -1,13 +1,13 @@
-import sqlite3
-
-# Create a connection to the database file "mydb":
-con = sqlite3.connect("mydb")
-
-# Get a Cursor object that operates in the context of Connection con:
-cur = con.cursor()
-
-# Execute the SELECT statement:
-cur.execute("select * from people order by age")
-
-# Retrieve all rows as a sequence and print that sequence:
-print cur.fetchall()
+import sqlite3
+
+# Create a connection to the database file "mydb":
+con = sqlite3.connect("mydb")
+
+# Get a Cursor object that operates in the context of Connection con:
+cur = con.cursor()
+
+# Execute the SELECT statement:
+cur.execute("select * from people order by age")
+
+# Retrieve all rows as a sequence and print that sequence:
+print cur.fetchall()