diff options
Diffstat (limited to 'Doc/lib/sqlite3/row_factory.py')
-rw-r--r-- | Doc/lib/sqlite3/row_factory.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/lib/sqlite3/row_factory.py b/Doc/lib/sqlite3/row_factory.py index 64676c8..e436ffc 100644 --- a/Doc/lib/sqlite3/row_factory.py +++ b/Doc/lib/sqlite3/row_factory.py @@ -10,4 +10,4 @@ con = sqlite3.connect(":memory:") con.row_factory = dict_factory cur = con.cursor() cur.execute("select 1 as a") -print cur.fetchone()["a"] +print(cur.fetchone()["a"]) |