Fix ImportError of C extensions on Python 3.4b2
This commit is contained in:
parent
dd2a569d76
commit
e868b825bb
1 changed files with 1 additions and 1 deletions
|
|
@ -9,7 +9,7 @@ extern "C" {
|
||||||
|
|
||||||
#if (PY_MAJOR_VERSION >= 3)
|
#if (PY_MAJOR_VERSION >= 3)
|
||||||
|
|
||||||
PyObject *
|
PyMODINIT_FUNC
|
||||||
PyInit_%(module)s(void)
|
PyInit_%(module)s(void)
|
||||||
{
|
{
|
||||||
PyObject *module = create_python_module("%(module)s", meth_%(ns)s);
|
PyObject *module = create_python_module("%(module)s", meth_%(ns)s);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue