mirror of
https://github.com/python/cpython.git
synced 2025-10-22 22:53:06 +00:00
Run 2to3 over Doc/lib/sqlite3/.
This commit is contained in:
parent
b942d28bf5
commit
45d569b823
22 changed files with 43 additions and 43 deletions
|
@ -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")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue