[Python-checkins] cpython (3.6): 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/2cf16c627c17
changeset:   104081:2cf16c627c17
branch:      3.6
parent:      104079:708337cd8e6a
user:        Serhiy Storchaka <storchaka at gmail.com>
date:        Mon Sep 26 23:14:44 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