mirror of
https://github.com/python/cpython.git
synced 2025-08-26 19:55:24 +00:00
bpo-24464: Fix sqlite3.enable_shared_cache() deprecation wrapper (GH-24170)
This commit is contained in:
parent
0e2a0f72cc
commit
d16f6176ab
2 changed files with 5 additions and 1 deletions
|
@ -96,7 +96,7 @@ def enable_shared_cache(enable):
|
|||
"the cache=shared query parameter."
|
||||
)
|
||||
warnings.warn(msg, DeprecationWarning, stacklevel=2)
|
||||
return _old_enable_shared_cache
|
||||
return _old_enable_shared_cache(enable)
|
||||
|
||||
# Clean up namespace
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue