diff options
author | Benjamin Peterson <benjamin@python.org> | 2018-07-04 05:39:09 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-07-04 05:39:09 (GMT) |
commit | 97ae32c92ecc7b3c29f8829a2b79f0f8f8bbf2cc (patch) | |
tree | 5f0fa1575427a58e34c1c556f7206fd695d992b1 /Modules | |
parent | b4588c2fffbda91e4c2f0cf2b0fc3d14def95608 (diff) | |
download | cpython-97ae32c92ecc7b3c29f8829a2b79f0f8f8bbf2cc.zip cpython-97ae32c92ecc7b3c29f8829a2b79f0f8f8bbf2cc.tar.gz cpython-97ae32c92ecc7b3c29f8829a2b79f0f8f8bbf2cc.tar.bz2 |
Make GenericAlias_Type and Generic_Type static. (GH-8076)
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/_testcapimodule.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Modules/_testcapimodule.c b/Modules/_testcapimodule.c index 41d059b..014c2f3 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), |