summaryrefslogtreecommitdiffstats
path: root/Lib/sqlite3
diff options
context:
space:
mode:
authorPetri Lehtinen <petri@digip.org>2012-02-17 19:36:52 (GMT)
committerPetri Lehtinen <petri@digip.org>2012-02-17 19:36:52 (GMT)
commitaa2c670ee66988ef14e5b74b1247e1ccfe8c320d (patch)
tree0adecd79a445d2097859888014cc71706c0017aa /Lib/sqlite3
parenta9bf2ac7265c143eb11538a0ecd491d96edbf4da (diff)
parentc86d9e2846e5bcf7f047f96e5c95432ecfa4bcb7 (diff)
downloadcpython-aa2c670ee66988ef14e5b74b1247e1ccfe8c320d.zip
cpython-aa2c670ee66988ef14e5b74b1247e1ccfe8c320d.tar.gz
cpython-aa2c670ee66988ef14e5b74b1247e1ccfe8c320d.tar.bz2
Merge branch '3.2'
Closes #11689.
Diffstat (limited to 'Lib/sqlite3')
-rw-r--r--Lib/sqlite3/test/hooks.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/sqlite3/test/hooks.py b/Lib/sqlite3/test/hooks.py
index 97abe5f..3dc44f6 100644
--- a/Lib/sqlite3/test/hooks.py
+++ b/Lib/sqlite3/test/hooks.py
@@ -168,6 +168,7 @@ class ProgressTests(unittest.TestCase):
con = sqlite.connect(":memory:")
action = 0
def progress():
+ nonlocal action
action = 1
return 0
con.set_progress_handler(progress, 1)