Kaydet (Commit) 8fce2ef8 authored tarafından Jack Jansen's avatar Jack Jansen

Made MacOS.Error a class style exception (at last!).

üst d22eb595
......@@ -104,7 +104,7 @@ PyObject *
PyMac_GetOSErrException(void)
{
if (PyMac_OSErrException == NULL)
PyMac_OSErrException = PyString_FromString("MacOS.Error");
PyMac_OSErrException = PyErr_NewException("MacOS.Error", NULL, NULL);
return PyMac_OSErrException;
}
......
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