Fix typo in "expected" word in few source files (#104034)

This commit is contained in:
chgnrdv 2023-05-01 18:45:50 +03:00 committed by GitHub
parent d5a97074d2
commit 2a884ceb36
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -626,7 +626,7 @@ PyAPI_FUNC(PyObject*) PyUnicode_AsLatin1String(
/* --- ASCII Codecs -------------------------------------------------------
Only 7-bit ASCII data is excepted. All other codes generate errors.
Only 7-bit ASCII data is expected. All other codes generate errors.
*/

View File

@ -1823,7 +1823,7 @@ resize(PyObject *self, PyObject *args)
dict = PyObject_stgdict((PyObject *)obj);
if (dict == NULL) {
PyErr_SetString(PyExc_TypeError,
"excepted ctypes instance");
"expected ctypes instance");
return NULL;
}
if (size < dict->size) {