Unverified Kaydet (Commit) 2cbd1bb1 authored tarafından Miss Islington (bot)'s avatar Miss Islington (bot) Kaydeden (comit) GitHub

Make GenericAlias_Type and Generic_Type static. (GH-8076)

(cherry picked from commit 97ae32c9)
Co-authored-by: 's avatarBenjamin Peterson <benjamin@python.org>
üst 123f2b45
......@@ -5200,7 +5200,7 @@ static PyMethodDef generic_alias_methods[] = {
{NULL} /* sentinel */
};
PyTypeObject GenericAlias_Type = {
static PyTypeObject GenericAlias_Type = {
PyVarObject_HEAD_INIT(NULL, 0)
"GenericAlias",
sizeof(PyGenericAliasObject),
......@@ -5237,7 +5237,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