Lines Matching refs:PyExc_ValueError
546 PyErr_SetString(PyExc_ValueError, "Empty format string");
586 PyErr_Format(PyExc_ValueError, "Too few arguments for format string [cur:%"PY_FORMAT_SIZE_T"d/len:%"PY_FORMAT_SIZE_T"d]", argoffset, maxarg);
617 PyErr_Format(PyExc_ValueError, "Too few arguments for format string [cur:%"PY_FORMAT_SIZE_T"d/len:%"PY_FORMAT_SIZE_T"d]", argoffset, maxarg);
682 PyErr_Format(PyExc_ValueError, "Too few arguments for format string [cur:%"PY_FORMAT_SIZE_T"d/len:%"PY_FORMAT_SIZE_T"d]", argoffset, maxarg);
700 PyErr_SetString(PyExc_ValueError, "Expecting string of length 1");
710 PyErr_SetString(PyExc_ValueError, "Expecting string of length 1");
921 PyErr_SetString(PyExc_ValueError, "Invalid format string");
933 PyErr_Format(PyExc_ValueError, "Too many values for format [%"PY_FORMAT_SIZE_T"d/%"PY_FORMAT_SIZE_T"d]", argoffset, maxarg);
951 PyErr_Format(PyExc_ValueError, "Wrong number of variadic arguments, need %" PY_FORMAT_SIZE_T "d, got %" PY_FORMAT_SIZE_T "d",
1338 PyErr_Format(PyExc_ValueError,
1343 PyErr_Format(PyExc_ValueError,
1357 PyErr_Format(PyExc_ValueError,
1362 PyErr_Format(PyExc_ValueError,
1572 PyErr_Format(PyExc_ValueError,
2358 PyExc_ValueError,
2380 PyExc_ValueError,
2542 PyErr_SetString(PyExc_ValueError, "calling method/function with 'undefined' argument");
2606 PyExc_ValueError,
2730 PyExc_ValueError,
2843 PyErr_SetString(PyExc_ValueError, "calling method/function with 'undefined' argument");