commit | d16f6176abdecbb7ab231dc78beccfaa095beff6 | [log] [tgz] |
---|---|---|
author | Erlend Egeberg Aasland <erlend.aasland@innova.no> | Sat Jan 09 12:25:55 2021 +0100 |
committer | GitHub <noreply@github.com> | Sat Jan 09 13:25:55 2021 +0200 |
tree | dca0f0aac66d1df3377b48d47b7f43e1470a4517 | |
parent | 0e2a0f72cc9af0899eacb5604e44a563c0b06110 [diff] [blame] |
bpo-24464: Fix sqlite3.enable_shared_cache() deprecation wrapper (GH-24170)
diff --git a/Lib/sqlite3/dbapi2.py b/Lib/sqlite3/dbapi2.py index 6475f98..cfe6225 100644 --- a/Lib/sqlite3/dbapi2.py +++ b/Lib/sqlite3/dbapi2.py
@@ -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