diff options
author | Collin Winter <collinw@gmail.com> | 2007-08-07 01:20:21 (GMT) |
---|---|---|
committer | Collin Winter <collinw@gmail.com> | 2007-08-07 01:20:21 (GMT) |
commit | 45d569b8232d19b0f6bd1385e8fb624f310d230e (patch) | |
tree | 610eda1d0c574f81bed24f2ceceecb0abf2ca1e5 /Doc/lib/sqlite3/shortcut_methods.py | |
parent | b942d28bf5b62e1823b91a7b3986e120ec9763bc (diff) | |
download | cpython-45d569b8232d19b0f6bd1385e8fb624f310d230e.zip cpython-45d569b8232d19b0f6bd1385e8fb624f310d230e.tar.gz cpython-45d569b8232d19b0f6bd1385e8fb624f310d230e.tar.bz2 |
Run 2to3 over Doc/lib/sqlite3/.
Diffstat (limited to 'Doc/lib/sqlite3/shortcut_methods.py')
-rw-r--r-- | Doc/lib/sqlite3/shortcut_methods.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/lib/sqlite3/shortcut_methods.py b/Doc/lib/sqlite3/shortcut_methods.py index 72ed4b3..596d87c 100644 --- a/Doc/lib/sqlite3/shortcut_methods.py +++ b/Doc/lib/sqlite3/shortcut_methods.py @@ -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") |