diff options
author | Antoine Pitrou <solipsis@pitrou.net> | 2013-05-13 22:35:38 +0200 |
---|---|---|
committer | Antoine Pitrou <solipsis@pitrou.net> | 2013-05-13 22:35:38 +0200 |
commit | c15df25fef4ab764bf9ae2c0ca9453d0906037d8 (patch) | |
tree | 02521ad7c223b54eb7a70faaa0cc4b1af5d6b932 /Python/frozen.c | |
parent | 724df745dd8de9a3b51199eb43ad01f9a0775d36 (diff) | |
parent | 0c26f2f86d11bc675b918d6dafc7de7b982a10b5 (diff) | |
download | cpython-c15df25fef4ab764bf9ae2c0ca9453d0906037d8.tar.gz |
Fix ResourceWarnings in test_sax
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; |