diff options
author | Brett Cannon <brett@python.org> | 2015-12-27 20:24:06 (GMT) |
---|---|---|
committer | Brett Cannon <brett@python.org> | 2015-12-27 20:24:06 (GMT) |
commit | 762d5ea8753e2c137eb7affa9fcb51db1cecd1aa (patch) | |
tree | 6434653e0fc50b8972147096fd5e791e53ee4a9e /Doc/faq/extending.rst | |
parent | 85622e4bc914383c087ef2e5944b14b10b22cff5 (diff) | |
download | cpython-762d5ea8753e2c137eb7affa9fcb51db1cecd1aa.zip cpython-762d5ea8753e2c137eb7affa9fcb51db1cecd1aa.tar.gz cpython-762d5ea8753e2c137eb7affa9fcb51db1cecd1aa.tar.bz2 |
Issue #12484: Remove a mention of Py_InitModule() and _PyImport_FixupExtension().
Thanks to Alejandro Santos for the bug report and Anish Shah for the
patch.
Diffstat (limited to 'Doc/faq/extending.rst')
-rw-r--r-- | Doc/faq/extending.rst | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/Doc/faq/extending.rst b/Doc/faq/extending.rst index 7bb4dc2..c932d38 100644 --- a/Doc/faq/extending.rst +++ b/Doc/faq/extending.rst @@ -247,20 +247,6 @@ For Red Hat, install the python-devel RPM to get the necessary files. For Debian, run ``apt-get install python-dev``. -What does "SystemError: _PyImport_FixupExtension: module yourmodule not loaded" mean? -------------------------------------------------------------------------------------- - -This means that you have created an extension module named "yourmodule", but -your module init function does not initialize with that name. - -Every module init function will have a line similar to:: - - module = Py_InitModule("yourmodule", yourmodule_functions); - -If the string passed to this function is not the same name as your extension -module, the :exc:`SystemError` exception will be raised. - - How do I tell "incomplete input" from "invalid input"? ------------------------------------------------------ |