diff options
author | Tim Peters <tim.peters@gmail.com> | 2001-02-04 03:09:53 (GMT) |
---|---|---|
committer | Tim Peters <tim.peters@gmail.com> | 2001-02-04 03:09:53 (GMT) |
commit | d66595fe423227f3bf8ea4867df5d27c6d2764e1 (patch) | |
tree | 678405a81330c78c8525ddc817350654c04dfaee /Modules | |
parent | 693291ba23d6406af58dd46066748a8d713fd1ba (diff) | |
download | cpython-d66595fe423227f3bf8ea4867df5d27c6d2764e1.zip cpython-d66595fe423227f3bf8ea4867df5d27c6d2764e1.tar.gz cpython-d66595fe423227f3bf8ea4867df5d27c6d2764e1.tar.bz2 |
Renamed _testXXX to _testcapiXXX. Jack is my hero -- good call!
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/_testcapimodule.c (renamed from Modules/_testmodule.c) | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Modules/_testmodule.c b/Modules/_testcapimodule.c index e4c9c75..1b3b596 100644 --- a/Modules/_testmodule.c +++ b/Modules/_testcapimodule.c @@ -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); } |