Commit 88d8beec authored by Guido van Rossum's avatar Guido van Rossum

Oops, forgot one.

parent ae631f7f
......@@ -854,7 +854,7 @@ initcd()
m = Py_InitModule("cd", CD_methods);
d = PyModule_GetDict(m);
CdError = PyString_FromString("cd.error");
CdError = PyErr_NewException("cd.error", NULL, NULL);
PyDict_SetItemString(d, "error", CdError);
/* Identifiers for the different types of callbacks from the parser */
......
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