mirror of
https://github.com/python/cpython.git
synced 2025-10-27 19:54:38 +00:00
commit
aa2c670ee6
2 changed files with 3 additions and 0 deletions
|
|
@ -168,6 +168,7 @@ def CheckClearHandler(self):
|
|||
con = sqlite.connect(":memory:")
|
||||
action = 0
|
||||
def progress():
|
||||
nonlocal action
|
||||
action = 1
|
||||
return 0
|
||||
con.set_progress_handler(progress, 1)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue