Lines Matching defs:value
318 /* Tests have shown that it's not worth to cache the hash value, see
337 /* Add input length, mangled to keep the historical value of hash(()). */
552 value: object
557 Return first index of value.
559 Raises ValueError if the value is not present.
563 tuple_index_impl(PyTupleObject *self, PyObject *value, Py_ssize_t start,
581 int cmp = PyObject_RichCompareBool(self->ob_item[i], value, Py_EQ);
594 value: object
597 Return number of occurrences of value.
601 tuple_count(PyTupleObject *self, PyObject *value)
608 int cmp = PyObject_RichCompareBool(self->ob_item[i], value, Py_EQ);
694 If the argument is a tuple, the return value is the same object.