summaryrefslogtreecommitdiffstats
path: root/Doc/includes/sqlite3/text_factory.py
diff options
context:
space:
mode:
Diffstat (limited to 'Doc/includes/sqlite3/text_factory.py')
-rw-r--r--Doc/includes/sqlite3/text_factory.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/Doc/includes/sqlite3/text_factory.py b/Doc/includes/sqlite3/text_factory.py
index 5f96cdb..a857a15 100644
--- a/Doc/includes/sqlite3/text_factory.py
+++ b/Doc/includes/sqlite3/text_factory.py
@@ -25,3 +25,5 @@ con.text_factory = lambda x: x.decode("utf-8") + "foo"
cur.execute("select ?", ("bar",))
row = cur.fetchone()
assert row[0] == "barfoo"
+
+con.close()