[Python-checkins] cpython (merge 3.6 -> default): Issue #27914: Fixed a comment in PyModule_ExcDef.
serhiy.storchaka
python-checkins at python.org
Mon Sep 26 16:15:23 EDT 2016
https://hg.python.org/cpython/rev/a944b08d1ac7
changeset: 104082:a944b08d1ac7
parent: 104080:b9d9c49d5b50
parent: 104081:2cf16c627c17
user: Serhiy Storchaka <storchaka at gmail.com>
date: Mon Sep 26 23:15:04 2016 +0300
summary:
Issue #27914: Fixed a comment in PyModule_ExcDef.
Patch by Xiang Zhang.
files:
Objects/moduleobject.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/Objects/moduleobject.c b/Objects/moduleobject.c
--- a/Objects/moduleobject.c
+++ b/Objects/moduleobject.c
@@ -380,7 +380,7 @@
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);
--
Repository URL: https://hg.python.org/cpython
More information about the Python-checkins
mailing list