diff --git a/Modules/_testcapimodule.c b/Modules/_testcapimodule.c index 41d059b2e48..014c2f325af 100644 --- a/Modules/_testcapimodule.c +++ b/Modules/_testcapimodule.c @@ -5194,7 +5194,7 @@ static PyMethodDef generic_alias_methods[] = { {NULL} /* sentinel */ }; -PyTypeObject GenericAlias_Type = { +static PyTypeObject GenericAlias_Type = { PyVarObject_HEAD_INIT(NULL, 0) "GenericAlias", sizeof(PyGenericAliasObject), @@ -5231,7 +5231,7 @@ static PyMethodDef generic_methods[] = { {NULL} /* sentinel */ }; -PyTypeObject Generic_Type = { +static PyTypeObject Generic_Type = { PyVarObject_HEAD_INIT(NULL, 0) "Generic", sizeof(PyGenericObject),