![](https://secure.gravatar.com/avatar/fa0f7819f1825f596b384c19aa7dcf33.jpg?s=120&d=mm&r=g)
New submission from Andreas Stührk <andy-python@hammerhartes.de>: The example says "PyModule_AddConstant" instead of "PyModule_AddIntMacro". Attached is a patch for 3.1 branch, but it applies to all branches. ---------- assignee: docs@python components: Documentation files: PyModule_AddIntMacro_doc.patch keywords: patch messages: 134879 nosy: Trundle, docs@python priority: normal severity: normal status: open title: Typo in PyModule_AddIntMacro's documentation versions: Python 2.7, Python 3.1, Python 3.2, Python 3.3 Added file: http://bugs.python.org/file21843/PyModule_AddIntMacro_doc.patch _______________________________________ Python tracker <report@bugs.python.org> <http://bugs.python.org/issue11966> _______________________________________