Skip to content

Commit 01e13e6

Browse files
Update Modules/_testcapi/unicode.c
Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
1 parent e0afd1d commit 01e13e6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Modules/_testcapi/unicode.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,7 @@ unicode_case_operation(PyObject *str,
226226
int buf_too_small)
227227
{
228228
if (!PyUnicode_Check(str)) {
229-
PyErr_Format(PyExc_TypeError, "expect str type, got %T", str);
229+
PyErr_Format(PyExc_TypeError, "expected type str, got %T", str);
230230
return NULL;
231231
}
232232
Py_ssize_t len = PyUnicode_GET_LENGTH(str);

0 commit comments

Comments
 (0)