diff options
author | Benjamin Peterson <benjamin@python.org> | 2015-05-25 21:24:48 -0500 |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2015-05-25 21:24:48 -0500 |
commit | 2ac1cd05153c0815ec6a5ad5ed08860758c6ee20 (patch) | |
tree | 3da50b196fbaa902881864783df9d54d63da0951 /Python/frozen.c | |
parent | 4d7a8e298cb5786fd08b044974c42856b2ddfa2d (diff) | |
parent | 05f5572e8d38267d23e4417ccf6f440f3f781836 (diff) | |
download | cpython-2ac1cd05153c0815ec6a5ad5ed08860758c6ee20.tar.gz |
merge 3.3
Diffstat (limited to 'Python/frozen.c')
-rw-r--r-- | Python/frozen.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Python/frozen.c b/Python/frozen.c index 25fdc17b3f..9bc662b994 100644 --- a/Python/frozen.c +++ b/Python/frozen.c @@ -28,7 +28,7 @@ static unsigned char M___hello__[] = { #define SIZE (int)sizeof(M___hello__) -static struct _frozen _PyImport_FrozenModules[] = { +static const struct _frozen _PyImport_FrozenModules[] = { /* importlib */ {"_frozen_importlib", _Py_M__importlib, (int)sizeof(_Py_M__importlib)}, /* Test module */ @@ -42,4 +42,4 @@ static struct _frozen _PyImport_FrozenModules[] = { /* Embedding apps may change this pointer to point to their favorite collection of frozen modules: */ -struct _frozen *PyImport_FrozenModules = _PyImport_FrozenModules; +const struct _frozen *PyImport_FrozenModules = _PyImport_FrozenModules; |