Added PY_RESOURCE (mac only) to imp module

This commit is contained in:
Jack Jansen 1995-06-18 20:06:44 +00:00
parent 2c67362f70
commit ae12e19409
1 changed files with 7 additions and 0 deletions

View File

@ -962,6 +962,13 @@ initimp()
dictinsert(d, "C_EXTENSION", v);
XDECREF(v);
#ifdef macintosh
v = newintobject(PY_RESOURCE);
dictinsert(d, "PY_RESOURCE", v);
XDECREF(v);
#endif
if (err_occurred())
fatal("imp module initialization failed");
}