[New-bugs-announce] [issue5548] In the tutorial, PyMODINIT_FUNC is shown as having a return type of void rather than PyObject *

Daniel Stutzbach report at bugs.python.org
Mon Mar 23 23:19:09 CET 2009


New submission from Daniel Stutzbach <daniel at stutzbachenterprises.com>:

PyMODINIT_FUNC functions should return the module object or NULL on
error.  Or at least that what it looks like the core modules are doing. ;-)

----------
assignee: georg.brandl
components: Documentation
messages: 84045
nosy: georg.brandl, stutzbach
severity: normal
status: open
title: In the tutorial, PyMODINIT_FUNC is shown as having a return type of void rather than PyObject *
versions: Python 3.0, Python 3.1

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


More information about the New-bugs-announce mailing list