From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Fri, 6 Jul 2018 05:58:27 +0000 (-0700) Subject: Make TaskStepMethWrapper_Type and TaskWakeupMethWrapper_Type static. (GH-8127) X-Git-Tag: v3.7.1rc1~325 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=60214dd2d5829f47f2e38a7cdd073e7a5e611905;p=python Make TaskStepMethWrapper_Type and TaskWakeupMethWrapper_Type static. (GH-8127) (cherry picked from commit 3c8aae9ffe13d0f2ad4ff81cdf56bc6393af362a) Co-authored-by: Benjamin Peterson --- diff --git a/Modules/_asynciomodule.c b/Modules/_asynciomodule.c index e3537cc81c..ebda10404e 100644 --- a/Modules/_asynciomodule.c +++ b/Modules/_asynciomodule.c @@ -1738,7 +1738,7 @@ static PyGetSetDef TaskStepMethWrapper_getsetlist[] = { {NULL} /* Sentinel */ }; -PyTypeObject TaskStepMethWrapper_Type = { +static PyTypeObject TaskStepMethWrapper_Type = { PyVarObject_HEAD_INIT(NULL, 0) "TaskStepMethWrapper", .tp_basicsize = sizeof(TaskStepMethWrapper), @@ -1813,7 +1813,7 @@ TaskWakeupMethWrapper_dealloc(TaskWakeupMethWrapper *o) Py_TYPE(o)->tp_free(o); } -PyTypeObject TaskWakeupMethWrapper_Type = { +static PyTypeObject TaskWakeupMethWrapper_Type = { PyVarObject_HEAD_INIT(NULL, 0) "TaskWakeupMethWrapper", .tp_basicsize = sizeof(TaskWakeupMethWrapper),