diff options
author | R David Murray <rdmurray@bitdance.com> | 2016-07-10 14:10:08 -0400 |
---|---|---|
committer | R David Murray <rdmurray@bitdance.com> | 2016-07-10 14:10:08 -0400 |
commit | 87de053ac106f336b60770e127d3ea76360f4dda (patch) | |
tree | cb9b04c6880af9224feea058dd65de3823168202 /Python/frozen.c | |
parent | 425f915808a8da11d653b9d6ded523892d1de7b0 (diff) | |
parent | dea7e3988f9d327e2a9d0af4473c2876b0ce8a00 (diff) | |
download | cpython-87de053ac106f336b60770e127d3ea76360f4dda.tar.gz |
#22758 null merge
Diffstat (limited to 'Python/frozen.c')
-rw-r--r-- | Python/frozen.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Python/frozen.c b/Python/frozen.c index ddf6224e6d..25fdc17b3f 100644 --- a/Python/frozen.c +++ b/Python/frozen.c @@ -2,6 +2,7 @@ /* Dummy frozen modules initializer */ #include "Python.h" +#include "importlib.h" /* In order to test the support for frozen modules, by default we define a single frozen module, __hello__. Loading it will print @@ -28,6 +29,8 @@ static unsigned char M___hello__[] = { #define SIZE (int)sizeof(M___hello__) static struct _frozen _PyImport_FrozenModules[] = { + /* importlib */ + {"_frozen_importlib", _Py_M__importlib, (int)sizeof(_Py_M__importlib)}, /* Test module */ {"__hello__", M___hello__, SIZE}, /* Test package (negative size indicates package-ness) */ |