[Python-checkins] Make TaskStepMethWrapper_Type and TaskWakeupMethWrapper_Type static. (GH-8127)
Miss Islington (bot)
webhook-mailer at python.org
Fri Jul 6 02:02:59 EDT 2018
https://github.com/python/cpython/commit/c6671aecbcbd12ed234fdc4470363fc5ba0f4a3a
commit: c6671aecbcbd12ed234fdc4470363fc5ba0f4a3a
branch: 3.6
author: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com>
committer: GitHub <noreply at github.com>
date: 2018-07-05T23:02:55-07:00
summary:
Make TaskStepMethWrapper_Type and TaskWakeupMethWrapper_Type static. (GH-8127)
(cherry picked from commit 3c8aae9ffe13d0f2ad4ff81cdf56bc6393af362a)
Co-authored-by: Benjamin Peterson <benjamin at python.org>
files:
M Modules/_asynciomodule.c
diff --git a/Modules/_asynciomodule.c b/Modules/_asynciomodule.c
index 1430097f82da..6ad3d726f5ce 100644
--- a/Modules/_asynciomodule.c
+++ b/Modules/_asynciomodule.c
@@ -1221,7 +1221,7 @@ static PyGetSetDef TaskStepMethWrapper_getsetlist[] = {
{NULL} /* Sentinel */
};
-PyTypeObject TaskStepMethWrapper_Type = {
+static PyTypeObject TaskStepMethWrapper_Type = {
PyVarObject_HEAD_INIT(NULL, 0)
"TaskStepMethWrapper",
.tp_basicsize = sizeof(TaskStepMethWrapper),
@@ -1296,7 +1296,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),
More information about the Python-checkins
mailing list