New submission from Daniel Stutzbach <dan...@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 <rep...@bugs.python.org>
<http://bugs.python.org/issue5548>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to