Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 2a884ce

Browse filesBrowse files
authored
Fix typo in "expected" word in few source files (#104034)
1 parent d5a9707 commit 2a884ce
Copy full SHA for 2a884ce

File tree

2 files changed

+2
-2
lines changed
Filter options

2 files changed

+2
-2
lines changed

‎Include/unicodeobject.h

Copy file name to clipboardExpand all lines: Include/unicodeobject.h
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -626,7 +626,7 @@ PyAPI_FUNC(PyObject*) PyUnicode_AsLatin1String(
626626

627627
/* --- ASCII Codecs -------------------------------------------------------
628628
629-
Only 7-bit ASCII data is excepted. All other codes generate errors.
629+
Only 7-bit ASCII data is expected. All other codes generate errors.
630630
631631
*/
632632

‎Modules/_ctypes/callproc.c

Copy file name to clipboardExpand all lines: Modules/_ctypes/callproc.c
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1823,7 +1823,7 @@ resize(PyObject *self, PyObject *args)
18231823
dict = PyObject_stgdict((PyObject *)obj);
18241824
if (dict == NULL) {
18251825
PyErr_SetString(PyExc_TypeError,
1826-
"excepted ctypes instance");
1826+
"expected ctypes instance");
18271827
return NULL;
18281828
}
18291829
if (size < dict->size) {

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.