Renamed _testXXX to _testcapiXXX. Jack is my hero -- good call!

This commit is contained in:
Tim Peters 2001-02-04 03:09:53 +00:00
parent 693291ba23
commit d66595fe42
8 changed files with 50 additions and 33 deletions

View file

@ -56,13 +56,13 @@ static PyMethodDef TestMethods[] = {
};
DL_EXPORT(void)
init_test(void)
init_testcapi(void)
{
PyObject *m, *d;
m = Py_InitModule("_test", TestMethods);
m = Py_InitModule("_testcapi", TestMethods);
TestError = PyErr_NewException("_test.error", NULL, NULL);
TestError = PyErr_NewException("_testcapi.error", NULL, NULL);
d = PyModule_GetDict(m);
PyDict_SetItemString(d, "error", TestError);
}