diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2016-09-05 18:16:01 -0700 |
---|---|---|
committer | Victor Stinner <victor.stinner@gmail.com> | 2016-09-05 18:16:01 -0700 |
commit | 3466bde1cc113750450ffed028cc6fc7c95faedd (patch) | |
tree | 231febf716064e61b742a058c60da523c8b30fe3 /Modules/_sqlite/module.c | |
parent | ad8c83ad6b91bebbc124c0c36e67b9836ca3d90f (diff) | |
download | cpython-3466bde1cc113750450ffed028cc6fc7c95faedd.tar.gz cpython-3466bde1cc113750450ffed028cc6fc7c95faedd.zip |
Avoid calling functions with an empty string as format string
Directly pass NULL rather than an empty string.
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 7cd6d2abebb..cc45331ab55 100644 --- a/Modules/_sqlite/module.c +++ b/Modules/_sqlite/module.c @@ -192,7 +192,7 @@ static PyObject* module_register_converter(PyObject* self, PyObject* args) } /* convert the name to upper case */ - name = _PyObject_CallMethodId(orig_name, &PyId_upper, ""); + name = _PyObject_CallMethodId(orig_name, &PyId_upper, NULL); if (!name) { goto error; } |