summaryrefslogtreecommitdiffstats
path: root/Doc/lib/sqlite3/complete_statement.py
diff options
context:
space:
mode:
Diffstat (limited to 'Doc/lib/sqlite3/complete_statement.py')
-rw-r--r--Doc/lib/sqlite3/complete_statement.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/lib/sqlite3/complete_statement.py b/Doc/lib/sqlite3/complete_statement.py
index 22525e3..76ea7f6 100644
--- a/Doc/lib/sqlite3/complete_statement.py
+++ b/Doc/lib/sqlite3/complete_statement.py
@@ -23,7 +23,7 @@ while True:
if buffer.lstrip().upper().startswith("SELECT"):
print cur.fetchall()
- except sqlite3.Error, e:
+ except sqlite3.Error as e:
print "An error occurred:", e.args[0]
buffer = ""