From 333ad92ec2d399873f5bf3a55a081830db4bedc1 Mon Sep 17 00:00:00 2001 From: Serhiy Storchaka Date: Mon, 26 Sep 2016 23:14:44 +0300 Subject: Issue #27914: Fixed a comment in PyModule_ExcDef. Patch by Xiang Zhang. --- Objects/moduleobject.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Objects/moduleobject.c b/Objects/moduleobject.c index d88b06a..dcae1c4 100644 --- a/Objects/moduleobject.c +++ b/Objects/moduleobject.c @@ -380,7 +380,7 @@ PyModule_ExecDef(PyObject *module, PyModuleDef *def) for (cur_slot = def->m_slots; cur_slot && cur_slot->slot; cur_slot++) { switch (cur_slot->slot) { case Py_mod_create: - /* handled in PyModule_CreateFromSlots */ + /* handled in PyModule_FromDefAndSpec2 */ break; case Py_mod_exec: ret = ((int (*)(PyObject *))cur_slot->value)(module); -- cgit v0.12