Lines Matching defs:errors
747 errors: str = NULL
753 const char *encoding, const char *errors)
768 if (encoding != NULL || errors != NULL) {
772 "errors without a string argument");
786 encoded = PyUnicode_AsEncodedString(arg, encoding, errors);
798 /* If it's not unicode, there can't be encoding or errors */
799 if (encoding != NULL || errors != NULL) {
803 "errors without a string argument");
1963 errors: str(c_default="NULL") = 'strict'
1964 The error handling scheme to use for the handling of decoding errors.
1965 The default is 'strict' meaning that decoding errors raise a
1975 const char *errors)
1980 return PyUnicode_FromEncodedObject((PyObject*)self, encoding, errors);
2276 bytearray(string, encoding[, errors]) -> bytearray\n\