diff options
| author | Kalyan <kalyan.ben10@live.com> | 2022-06-08 05:04:50 +0530 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-06-08 01:34:50 +0200 |
| commit | ffc58a9710172b2d716a810a9f303828f3ebf108 (patch) | |
| tree | 09f09c68560fa331909287e6284738719bd95417 /Modules/_sqlite/module.c | |
| parent | f8eae6f5c35e9def07a732f6bc7744aae106f9b2 (diff) | |
| download | cpython-git-ffc58a9710172b2d716a810a9f303828f3ebf108.tar.gz | |
gh-93370: Deprecate sqlite3.version and sqlite3.version_info (#93482)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com>
Diffstat (limited to 'Modules/_sqlite/module.c')
| -rw-r--r-- | Modules/_sqlite/module.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/_sqlite/module.c b/Modules/_sqlite/module.c index 9b0e921511..995d0946d9 100644 --- a/Modules/_sqlite/module.c +++ b/Modules/_sqlite/module.c @@ -707,7 +707,7 @@ module_exec(PyObject *module) goto error; } - if (PyModule_AddStringConstant(module, "version", PYSQLITE_VERSION) < 0) { + if (PyModule_AddStringConstant(module, "_deprecated_version", PYSQLITE_VERSION) < 0) { goto error; } |
