mirror of
https://github.com/python/cpython.git
synced 2025-11-02 03:01:58 +00:00
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>
This commit is contained in:
parent
f8eae6f5c3
commit
ffc58a9710
7 changed files with 50 additions and 2 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue