Commit ff7ce079 authored by Benjamin Drung's avatar Benjamin Drung

Imported Upstream version 0.4.1

parent 7ec909cc
Metadata-Version: 1.0
Name: hunspell
Version: 0.4.0
Version: 0.4.1
Summary: Module for the Hunspell spellchecker engine
Home-page: http://github.com/blatinier/pyhunspell
Author: Benoît Latinier
......
......@@ -505,8 +505,9 @@ PyInit_hunspell(void)
/* Add the type to the module. */
Py_INCREF(&HunSpellType);
PyModule_AddObject(mod, "HunSpell", (PyObject *)&HunSpellType);
HunSpellError = PyErr_NewException("hunspell.error", NULL, NULL);
HunSpellError = PyErr_NewException("hunspell.HunSpellError", NULL, NULL);
Py_INCREF(HunSpellError);
PyModule_AddObject(mod, "HunSpellError", HunSpellError);
return mod;
}
#else
......@@ -530,8 +531,9 @@ inithunspell(void)
/* Add the type to the module. */
Py_INCREF(&HunSpellType);
PyModule_AddObject(mod, "HunSpell", (PyObject *)&HunSpellType);
HunSpellError = PyErr_NewException("hunspell.error", NULL, NULL);
HunSpellError = PyErr_NewException("hunspell.HunSpellError", NULL, NULL);
Py_INCREF(HunSpellError);
PyModule_AddObject(mod, "HunSpellError", HunSpellError);
return mod;
}
#endif
......@@ -37,7 +37,7 @@ else:
main = Extension('hunspell', **main_module_kwargs)
setup(name="hunspell",
version="0.4.0",
version="0.4.1",
description="Module for the Hunspell spellchecker engine",
author="Benoît Latinier",
author_email="benoit@latinier.fr",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment