mirror of
https://github.com/python/cpython.git
synced 2025-10-09 16:34:44 +00:00
Issue #27914: Fixed a comment in PyModule_ExcDef.
Patch by Xiang Zhang.
This commit is contained in:
parent
11179b2ed7
commit
333ad92ec2
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue