diff options
author | Alex Henrie <alexhenrie24@gmail.com> | 2020-01-29 21:12:53 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-01-30 07:12:53 +0300 |
commit | 188bb5b1e868eecf2342195dc45caa332ac3b6c7 (patch) | |
tree | 835c4b7e47472c37e121d22bc05aa56d2016d0fe /Modules/_sqlite/module.c | |
parent | 2e6569b6692298fcc9aae0df3eb3181adb2a5099 (diff) | |
download | cpython-git-188bb5b1e868eecf2342195dc45caa332ac3b6c7.tar.gz |
bpo-39494: Remove extra null terminators from kwlist vars (GH-18267)
Diffstat (limited to 'Modules/_sqlite/module.c')
-rw-r--r-- | Modules/_sqlite/module.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Modules/_sqlite/module.c b/Modules/_sqlite/module.c index d5c353ea7b..4d9d3d41c7 100644 --- a/Modules/_sqlite/module.c +++ b/Modules/_sqlite/module.c @@ -105,7 +105,7 @@ RAM instead of on disk."); static PyObject* module_complete(PyObject* self, PyObject* args, PyObject* kwargs) { - static char *kwlist[] = {"statement", NULL, NULL}; + static char *kwlist[] = {"statement", NULL}; char* statement; PyObject* result; @@ -135,7 +135,7 @@ Checks if a string contains a complete SQL statement. Non-standard."); static PyObject* module_enable_shared_cache(PyObject* self, PyObject* args, PyObject* kwargs) { - static char *kwlist[] = {"do_enable", NULL, NULL}; + static char *kwlist[] = {"do_enable", NULL}; int do_enable; int rc; |