]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-116146: Avoid empty braces in _testembed.c (GH-141556)
authorPetr Viktorin <encukou@gmail.com>
Fri, 14 Nov 2025 15:05:42 +0000 (16:05 +0100)
committerGitHub <noreply@github.com>
Fri, 14 Nov 2025 15:05:42 +0000 (15:05 +0000)
Programs/_testembed.c

index 27224e508bdd3e0ca8eb9a266f3f2b35a21f16fd..d0d7d5f03fb9e3d941c74d6771f0ffab21f77016 100644 (file)
@@ -2255,7 +2255,7 @@ exec_module(PyObject* self, PyObject* mod)
 static PyMethodDef create_static_module_methods[] = {
     {"create_module", create_module, METH_O, NULL},
     {"exec_module", exec_module, METH_O, NULL},
-    {}
+    {NULL}
 };
 
 static struct PyModuleDef create_static_module_def = {