Kaydet (Commit) a4b4c3bf authored tarafından Jeremy Hylton's avatar Jeremy Hylton

Don't declare a function with staticforward.

Just declare it static so that lame (BAD_STATIC_FORWARD) compilers
don't see a mismatch between the prototype and the function.
üst 346386fe
......@@ -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)) {
......
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