summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2018-07-06 05:39:34 (GMT)
committerGitHub <noreply@github.com>2018-07-06 05:39:34 (GMT)
commit3c8aae9ffe13d0f2ad4ff81cdf56bc6393af362a (patch)
tree1b1630e7c88a67c13399bd841d6be42a6738f3eb /Modules
parent8d130913cb9359c01de412178f9942419e921170 (diff)
downloadcpython-3c8aae9ffe13d0f2ad4ff81cdf56bc6393af362a.zip
cpython-3c8aae9ffe13d0f2ad4ff81cdf56bc6393af362a.tar.gz
cpython-3c8aae9ffe13d0f2ad4ff81cdf56bc6393af362a.tar.bz2
Make TaskStepMethWrapper_Type and TaskWakeupMethWrapper_Type static. (GH-8127)
Diffstat (limited to 'Modules')
-rw-r--r--Modules/_asynciomodule.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Modules/_asynciomodule.c b/Modules/_asynciomodule.c
index e3537cc..ebda104 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),