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/execsql_fetchonerow.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/execsql_fetchonerow.py')
-rw-r--r-- | Doc/lib/sqlite3/execsql_fetchonerow.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/lib/sqlite3/execsql_fetchonerow.py b/Doc/lib/sqlite3/execsql_fetchonerow.py index 8044ecf..078873b 100644 --- a/Doc/lib/sqlite3/execsql_fetchonerow.py +++ b/Doc/lib/sqlite3/execsql_fetchonerow.py @@ -9,9 +9,9 @@ SELECT = "select name_last, age from people order by age, name_last" # resulting sequences to yield their elements (name_last, age): cur.execute(SELECT) for (name_last, age) in cur: - print '%s is %d years old.' % (name_last, age) + print('%s is %d years old.' % (name_last, age)) # 2. Equivalently: cur.execute(SELECT) for row in cur: - print '%s is %d years old.' % (row[0], row[1]) + print('%s is %d years old.' % (row[0], row[1])) |