This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: Argument Mixup in PyState_AddModule
Type: enhancement Stage: resolved
Components: Documentation Versions: Python 3.3, Python 3.4
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: ezio.melotti Nosy List: Tobias.Becker, docs@python, ezio.melotti, python-dev
Priority: normal Keywords:

Created on 2013-03-06 00:05 by Tobias.Becker, last changed 2022-04-11 14:57 by admin. This issue is now closed.

Messages (3)
msg183564 - (view) Author: Tobias Becker (Tobias.Becker) Date: 2013-03-06 00:05
http://docs.python.org/3.3/c-api/module.html?highlight=pymodule#PyState_AddModule

the arguments of PyState_AddModule are in wrong order:
currently: int PyState_AddModule(PyModuleDef *def, PyObject *module)
correct: int PyState_AddModule(PyObject *module,PyModuleDef *def)
msg183567 - (view) Author: Roundup Robot (python-dev) (Python triager) Date: 2013-03-06 00:59
New changeset 29d5bc1226f9 by Ezio Melotti in branch '3.3':
#17363: fix arguments in PyState_AddModule and PyState_RemoveModule docs.
http://hg.python.org/cpython/rev/29d5bc1226f9

New changeset 75c0cb169be5 by Ezio Melotti in branch 'default':
#17363: merge with 3.3.
http://hg.python.org/cpython/rev/75c0cb169be5
msg183568 - (view) Author: Ezio Melotti (ezio.melotti) * (Python committer) Date: 2013-03-06 01:03
Fixed, thanks for the report!
History
Date User Action Args
2022-04-11 14:57:42adminsetgithub: 61565
2013-03-06 01:03:39ezio.melottisetstatus: open -> closed

type: enhancement
assignee: docs@python -> ezio.melotti
versions: + Python 3.4
nosy: + ezio.melotti

messages: + msg183568
resolution: fixed
stage: resolved
2013-03-06 00:59:37python-devsetnosy: + python-dev
messages: + msg183567
2013-03-06 00:05:40Tobias.Beckercreate