Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
bpo-24464: Call sqlite3.enable_shared_cache() from deprecation wrapper
  • Loading branch information
Erlend E. Aasland committed Jan 8, 2021
commit 70f8bcaa53f730bb4abe0261908af47fee994518
2 changes: 1 addition & 1 deletion Lib/sqlite3/dbapi2.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down