diff options
author | Zachary Ware <zachary.ware@gmail.com> | 2014-01-21 13:50:13 -0600 |
---|---|---|
committer | Zachary Ware <zachary.ware@gmail.com> | 2014-01-21 13:50:13 -0600 |
commit | ff1769802fc3ac342e45d4967eeece028184fe6c (patch) | |
tree | fd08ccf458c45f70ccb09547d28826a7071c73b3 /Python/frozen.c | |
parent | 77772c41204d33ca7ccb96908d2275a1d2711aa6 (diff) | |
parent | e0833fb5e338ab5d63f7ec2d15bdb65b3dc99e6d (diff) | |
download | cpython-ff1769802fc3ac342e45d4967eeece028184fe6c.tar.gz |
Issue #20301: Merge with 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; |