Commit 97ae32c9 authored by Benjamin Peterson's avatar Benjamin Peterson Committed by GitHub

Make GenericAlias_Type and Generic_Type static. (GH-8076)

parent b4588c2f
......@@ -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),
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment