Fix ImportError of C extensions on Python 3.4b2

This commit is contained in:
cgohlke 2014-02-04 15:52:41 -08:00
commit e868b825bb

View file

@ -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);