diff options
Diffstat (limited to 'Mac/Modules/ae')
-rw-r--r-- | Mac/Modules/ae/AEmodule.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Mac/Modules/ae/AEmodule.c b/Mac/Modules/ae/AEmodule.c index a2a8b14..ed20b40 100644 --- a/Mac/Modules/ae/AEmodule.c +++ b/Mac/Modules/ae/AEmodule.c @@ -1180,6 +1180,10 @@ void initAE() if (AE_Error == NULL || PyDict_SetItemString(d, "Error", AE_Error) != 0) Py_FatalError("can't initialize AE.Error"); + AEDesc_Type.ob_type = &PyType_Type; + Py_INCREF(&AEDesc_Type); + if (PyDict_SetItemString(d, "AEDescType", (PyObject *)&AEDesc_Type) != 0) + Py_FatalError("can't initialize AEDescType"); } /* ========================= End module AE ========================== */ |