Skip to content

Commit

Permalink
Fix typo in "expected" word in few source files (#104034)
Browse files Browse the repository at this point in the history
  • Loading branch information
chgnrdv authored May 1, 2023
1 parent d5a9707 commit 2a884ce
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Include/unicodeobject.h
Original file line number Diff line number Diff line change
Expand Up @@ -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.
*/

Expand Down
2 changes: 1 addition & 1 deletion Modules/_ctypes/callproc.c
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 2a884ce

Please sign in to comment.