diff options
author | Antoine Pitrou <solipsis@pitrou.net> | 2012-08-04 00:56:19 +0200 |
---|---|---|
committer | Antoine Pitrou <solipsis@pitrou.net> | 2012-08-04 00:56:19 +0200 |
commit | b0f1dbb51e0c28a801c8c3e9992453de14c5e436 (patch) | |
tree | dad2470e591823bf79bc9ea8a5a7923b928e9f4a /Python/frozen.c | |
parent | 8cc05cc705495cfb6bf6a35600ba9a4a4c9e2b2c (diff) | |
parent | 6a18048c636a6fcc31c56906952f1e470cb5412b (diff) | |
download | cpython-b0f1dbb51e0c28a801c8c3e9992453de14c5e436.tar.gz |
Make TextIOWrapper's documentation clearer by copying the newline argument's description from open().
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) */ |