Lines Matching defs:error
851 Order operations are tried until either a valid result or error:
958 Order operations are tried until either a valid result or error:
1464 /* Return an error on Overflow only if err is not NULL*/
1475 /* We're done if PyLong_AsSsize_t() returns without error. */
1492 /* If no error-handling desired then the default clipping
1505 /* Otherwise replace the error with caller's error object. */
1602 /* need to do extra error checking that PyLong_FromString()
2174 PY_ITERSEARCH_COUNT: -1 if error, else # of times obj appears in seq.
2176 set ValueError and return -1 if none found; also return -1 on error.
2177 Py_ITERSEARCH_CONTAINS: return 1 if obj in seq, else 0; -1 on error.
2270 /* Return -1 if error; 1 if ob in seq; 0 if ob not in seq.
2482 * Only state #3 is a non-error state and only it returns a non-NULL object
2488 * produce exactly the same results: NULL is returned and no error is set.
2565 check_class(PyObject *cls, const char *error)
2572 _PyErr_SetString(tstate, PyExc_TypeError, error);
2645 /* either found it, or got an error */
2737 /* either found it, or got an error */
2854 * If an error occurs, return NULL. PyErr_Occurred() will be true.