Skip to content

Commit fdf52dd

Browse files
committed
Make c-analyzer happy
`PyModuleDef` is a typedef for `struct PyModuleDef`, but only one is recognized by the tool.
1 parent 20bf204 commit fdf52dd

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎Modules/_testlimitedcapi.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ static PyMethodDef TestMethods[] = {
1111
{NULL, NULL} /* sentinel */
1212
};
1313

14-
struct PyModuleDef _Py_TestLimitedCAPI_ModuleDef = {
14+
PyModuleDef _Py_TestLimitedCAPI_ModuleDef = {
1515
PyModuleDef_HEAD_INIT,
1616
.m_name = "_testlimitedcapi",
1717
.m_size = 0,

0 commit comments

Comments
 (0)