diff options
author | Benjamin Peterson <benjamin@python.org> | 2015-10-06 19:42:02 -0700 |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2015-10-06 19:42:02 -0700 |
commit | c16b8b405e790c04e4062a4b1231ba56387e4273 (patch) | |
tree | 7e6120af47d7413550634e652c8e827603c5c615 /Python/frozen.c | |
parent | 07929c5f6dd69c554889910bf5988ad6c31f5593 (diff) | |
parent | 65e767b0df52dd8262d49f3c1ea1ae3567bb4d47 (diff) | |
download | cpython-c16b8b405e790c04e4062a4b1231ba56387e4273.tar.gz |
merge 3.4 (#24806)
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 9bc662b994..676f395488 100644 --- a/Python/frozen.c +++ b/Python/frozen.c @@ -3,6 +3,7 @@ #include "Python.h" #include "importlib.h" +#include "importlib_external.h" /* In order to test the support for frozen modules, by default we define a single frozen module, __hello__. Loading it will print @@ -31,6 +32,8 @@ static unsigned char M___hello__[] = { static const struct _frozen _PyImport_FrozenModules[] = { /* importlib */ {"_frozen_importlib", _Py_M__importlib, (int)sizeof(_Py_M__importlib)}, + {"_frozen_importlib_external", _Py_M__importlib_external, + (int)sizeof(_Py_M__importlib_external)}, /* Test module */ {"__hello__", M___hello__, SIZE}, /* Test package (negative size indicates package-ness) */ |