Kaydet (Commit) 4511a713 authored tarafından Tim Peters's avatar Tim Peters

Whitespace normalization.

üst 3053667d
......@@ -14,4 +14,3 @@ cur = con.cursor()
p = Point(4.0, -3.2)
cur.execute("select ?", (p,))
print cur.fetchone()[0]
......@@ -15,4 +15,3 @@ cur = con.cursor()
p = Point(4.0, -3.2)
cur.execute("select ?", (p,))
print cur.fetchone()[0]
......@@ -10,4 +10,3 @@ age = 72
cur.execute("select name_last, age from people where name_last=:who and age=:age",
{"who": who, "age": age})
print cur.fetchone()
......@@ -10,5 +10,3 @@ age = 72
cur.execute("select name_last, age from people where name_last=:who and age=:age",
locals())
print cur.fetchone()
......@@ -14,4 +14,3 @@ for person in newPeople:
# The changes will not be saved unless the transaction is committed explicitly:
con.commit()
......@@ -19,4 +19,3 @@ for row in con.execute("select firstname, lastname from person"):
# Using a dummy WHERE clause to not let SQLite take the shortcut table deletes.
print "I just deleted", con.execute("delete from person where 1=1").rowcount, "rows"
......@@ -40,4 +40,3 @@ assert type(row[0]) == unicode
cur.execute("select ?", ("Germany",))
row = cur.fetchone()
assert type(row[0]) == str
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment