Lines Matching defs:str
117 const char *str;
120 str = PyUnicode_AsUTF8(errors);
121 if (str == NULL)
123 cb = PyCodec_LookupError(str);
156 const char *str;
167 str = PyUnicode_AsUTF8(value);
168 if (str == NULL)
171 cb = internal_error_callback(str);
330 "(str, int) tuple");
456 "(str, int) tuple");
573 errors: str(accept={str, NoneType}) = None
642 errors: str(accept={str, NoneType}) = None
780 "couldn't convert the object to str.");
1718 PyObject *str, *wr;
1720 str = encoder_encode_stateful(STATEFUL_ECTX(self), unistr, 0);
1721 if (str == NULL)
1724 wr = _PyObject_CallMethodOneArg(self->stream, str_write, str);
1725 Py_DECREF(str);