diff options
| author | Guido van Rossum <guido@python.org> | 1998-04-03 21:10:36 +0000 |
|---|---|---|
| committer | Guido van Rossum <guido@python.org> | 1998-04-03 21:10:36 +0000 |
| commit | f015e18d9dd0973056538387e70e14c17f418200 (patch) | |
| tree | e5e4a0519e1213c4d0f8691936d056f3aeb32561 /Python/frozen.c | |
| parent | fe03e81aa59cec06d66d40fd1801551418e58468 (diff) | |
| download | cpython-git-f015e18d9dd0973056538387e70e14c17f418200.tar.gz | |
Add primitive test for frozen package.
Diffstat (limited to 'Python/frozen.c')
| -rw-r--r-- | Python/frozen.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Python/frozen.c b/Python/frozen.c index 4a8d457b62..d97acf483e 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 */ }; |
