X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~mdw/git/pyke/blobdiff_plain/dce47d5020064fb1fc0c58db165d72c7ffd10835..87fa2d560608d1b07c715357dc524e0d9eb3286c:/mapping.c diff --git a/mapping.c b/mapping.c index 229dfa9..615c5ed 100644 --- a/mapping.c +++ b/mapping.c @@ -160,7 +160,7 @@ static PyTypeObject valiter_pytype_skel = { 0 /* @tp_is_gc@ */ }; -PySequenceMethods gmap_pysequence = { +const PySequenceMethods gmap_pysequence = { 0, /* @sq_length@ */ 0, /* @sq_concat@ */ 0, /* @sq_repeat@ */ @@ -403,7 +403,7 @@ end: return (rc); } -PyMethodDef gmap_pymethods[] = { +const PyMethodDef gmap_pymethods[] = { GMAP_METHODS { 0 } };