[issue27914] Incorrect comment in PyModule_ExcDef

Xiang Zhang report at bugs.python.org
Wed Aug 31 10:38:40 EDT 2016


New submission from Xiang Zhang:

There is a comment in PyModule_ExcDef:

    /* handled in PyModule_CreateFromSlots */

But there seems never exists PyModule_CreateFromSlots, I think PyModule_CreateFromSlots should be PyModule_FromDefAndSpec2.

----------
files: PyModule_ExcDef_comment.patch
keywords: patch
messages: 274024
nosy: ncoghlan, xiang.zhang
priority: normal
severity: normal
status: open
title: Incorrect comment in PyModule_ExcDef
type: enhancement
versions: Python 3.5, Python 3.6
Added file: http://bugs.python.org/file44299/PyModule_ExcDef_comment.patch

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue27914>
_______________________________________


More information about the Python-bugs-list mailing list