summaryrefslogtreecommitdiffstats
path: root/Python
diff options
context:
space:
mode:
Diffstat (limited to 'Python')
-rw-r--r--Python/frozen.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/Python/frozen.c b/Python/frozen.c
index 4a8d457..d97acf4 100644
--- a/Python/frozen.c
+++ b/Python/frozen.c
@@ -47,7 +47,11 @@ static unsigned char M___hello__[] = {
};
static struct _frozen _PyImport_FrozenModules[] = {
+ /* Test module */
{"__hello__", M___hello__, 90},
+ /* Test package (negative size indicates package-ness) */
+ {"__phello__", M___hello__, -90},
+ {"__phello__.spam", M___hello__, 90},
{0, 0, 0} /* sentinel */
};