Run 2to3 over Doc/lib/sqlite3/.

This commit is contained in:
Collin Winter 2007-08-07 01:20:21 +00:00
parent b942d28bf5
commit 45d569b823
22 changed files with 43 additions and 43 deletions

View file

@ -15,7 +15,7 @@ con.executemany("insert into person(firstname, lastname) values (?, ?)", persons
# Print the table contents
for row in con.execute("select firstname, lastname from person"):
print row
print(row)
# 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"
print("I just deleted", con.execute("delete from person where 1=1").rowcount, "rows")