Commit 52e07172 authored by Tim Peters's avatar Tim Peters

Give the internal immutable list type .extend and .pop methods (they

"should have" been added here when they were added to lists).
parent 69232348
......@@ -1727,6 +1727,8 @@ immutable_list_op(void)
static PyMethodDef immutable_list_methods[] = {
{"append", (PyCFunction)immutable_list_op, METH_VARARGS},
{"insert", (PyCFunction)immutable_list_op, METH_VARARGS},
{"extend", (PyCFunction)immutable_list_op, METH_O},
{"pop", (PyCFunction)immutable_list_op, METH_VARARGS},
{"remove", (PyCFunction)immutable_list_op, METH_VARARGS},
{"index", (PyCFunction)listindex, METH_O},
{"count", (PyCFunction)listcount, METH_O},
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment