Made MacOS.Error a class style exception (at last!).
This commit is contained in:
parent
d22eb59535
commit
8fce2ef84c
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue