FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Issue #27914: Fixed a comment in PyModule_ExcDef. · python-emscripten/cpython@333ad92 · GitHub

Repository navigation

Commit 333ad92

Browse files
Issue python#27914: Fixed a comment in PyModule_ExcDef.
Patch by Xiang Zhang.
1 parent 11179b2 commit 333ad92

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎Objects/moduleobject.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -380,7 +380,7 @@ PyModule_ExecDef(PyObject *module, PyModuleDef *def)
380380
for (cur_slot = def->m_slots; cur_slot && cur_slot->slot; cur_slot++) {
381381
switch (cur_slot->slot) {
382382
case Py_mod_create:
383-
/* handled in PyModule_CreateFromSlots */
383+
/* handled in PyModule_FromDefAndSpec2 */
384384
break;
385385
case Py_mod_exec:
386386
ret = ((int (*)(PyObject *))cur_slot->value)(module);

0 commit comments

Comments
 (0)

Back | FazBrowse Home | New Git URL