https://github.com/python/cpython/commit/eab7385858025df9fcb0131f71ec4a46d44e3ae9
commit: eab7385858025df9fcb0131f71ec4a46d44e3ae9
branch: main
author: Petr Viktorin <[email protected]>
committer: encukou <[email protected]>
date: 2025-11-14T15:05:42Z
summary:

gh-116146: Avoid empty braces in _testembed.c (GH-141556)

files:
M Programs/_testembed.c

diff --git a/Programs/_testembed.c b/Programs/_testembed.c
index 27224e508bdd3e..d0d7d5f03fb9e3 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 = {

_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3//lists/python-checkins.python.org
Member address: [email protected]

Reply via email to