mirror of https://github.com/python/cpython
Fix typo in "expected" word in few source files (#104034)
This commit is contained in:
parent
d5a97074d2
commit
2a884ceb36
|
@ -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.
|
||||
|
||||
*/
|
||||
|
||||
|
|
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue