Kaydet (Commit) 8dbcdd0a authored tarafından Guido van Rossum's avatar Guido van Rossum

correct typo in return variable for PySequence_Index()

üst 0b1ff669
......@@ -879,7 +879,7 @@ PySequence_Index(s, o)
err=PyObject_Cmp(item,o,&not_equal) == -1;
Py_DECREF(item);
if(err) return -1;
if(! not_equal) return n;
if(! not_equal) return i;
}
return -1;
}
......
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