From: Petr Viktorin Date: Fri, 14 Nov 2025 15:05:42 +0000 (+0100) Subject: gh-116146: Avoid empty braces in _testembed.c (GH-141556) X-Git-Tag: v3.15.0a2~38 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=eab7385858025df9fcb0131f71ec4a46d44e3ae9;p=thirdparty%2FPython%2Fcpython.git gh-116146: Avoid empty braces in _testembed.c (GH-141556) --- diff --git a/Programs/_testembed.c b/Programs/_testembed.c index 27224e508bdd..d0d7d5f03fb9 100644 --- a/Programs/_testembed.c +++ b/Programs/_testembed.c @@ -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 = {