commit | 8f87eefe7f0576c05c488874eb9601a7a87c7312 | [log] [tgz] |
---|---|---|
author | Serhiy Storchaka <storchaka@gmail.com> | Sun Apr 12 14:58:27 2020 +0300 |
committer | GitHub <noreply@github.com> | Sun Apr 12 14:58:27 2020 +0300 |
tree | 10ea36d1f702ae9e8bc34bcc88588868706948f6 | |
parent | 3e0dd3730b5eff7e9ae6fb921aa77cd26efc9e3a [diff] |
bpo-39943: Add the const qualifier to pointers on non-mutable PyBytes data. (GH-19472)
diff --git a/Modules/_sqlite/connection.c b/Modules/_sqlite/connection.c index 92bdfe3..91041b9 100644 --- a/Modules/_sqlite/connection.c +++ b/Modules/_sqlite/connection.c
@@ -79,7 +79,7 @@ NULL }; - char* database; + const char* database; PyObject* database_obj; int detect_types = 0; PyObject* isolation_level = NULL;