summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Objects/listobject.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Objects/listobject.c b/Objects/listobject.c
index 36aa7f3..dd2d580 100644
--- a/Objects/listobject.c
+++ b/Objects/listobject.c
@@ -1684,9 +1684,9 @@ PyDoc_STRVAR(list_doc,
"list() -> new list\n"
"list(sequence) -> new list initialized from sequence's items");
-staticforward PyObject * list_iter(PyObject *seq);
+static PyObject *list_iter(PyObject *seq);
-static PyObject*
+static PyObject *
list_subscript(PyListObject* self, PyObject* item)
{
if (PyInt_Check(item)) {