diff options
author | Guido van Rossum <guido@python.org> | 1997-10-01 04:43:39 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1997-10-01 04:43:39 (GMT) |
commit | 88d8beec0a1196fd33332fe18e893dae796dc505 (patch) | |
tree | 8a364d780b5607bf0085d7d9a573d25a6a149367 /Modules/cdmodule.c | |
parent | ae631f7f4588adb3f0077ae80c2ccd530fb5ccc5 (diff) | |
download | cpython-88d8beec0a1196fd33332fe18e893dae796dc505.zip cpython-88d8beec0a1196fd33332fe18e893dae796dc505.tar.gz cpython-88d8beec0a1196fd33332fe18e893dae796dc505.tar.bz2 |
Oops, forgot one.
Diffstat (limited to 'Modules/cdmodule.c')
-rw-r--r-- | Modules/cdmodule.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/cdmodule.c b/Modules/cdmodule.c index 3653a03..71598d7 100644 --- a/Modules/cdmodule.c +++ b/Modules/cdmodule.c @@ -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 */ |