mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
Export type objects to Python
This commit is contained in:
parent
6dd4868681
commit
a755e68df6
19 changed files with 111 additions and 7 deletions
|
@ -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 ========================== */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue