commit | 3466bde1cc113750450ffed028cc6fc7c95faedd | [log] [tgz] |
---|---|---|
author | Victor Stinner <victor.stinner@gmail.com> | Mon Sep 05 18:16:01 2016 -0700 |
committer | Victor Stinner <victor.stinner@gmail.com> | Mon Sep 05 18:16:01 2016 -0700 |
tree | 231febf716064e61b742a058c60da523c8b30fe3 | |
parent | ad8c83ad6b91bebbc124c0c36e67b9836ca3d90f [diff] [blame] |
Avoid calling functions with an empty string as format string Directly pass NULL rather than an empty string.
diff --git a/Modules/_sqlite/module.c b/Modules/_sqlite/module.c index 7cd6d2a..cc45331 100644 --- a/Modules/_sqlite/module.c +++ b/Modules/_sqlite/module.c
@@ -192,7 +192,7 @@ } /* 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; }