Issue #26778: Fixed "a/an/and" typos in code comment, documentation and error

messages.
This commit is contained in:
Serhiy Storchaka 2016-04-17 09:39:28 +03:00
commit b6a9c9761c
68 changed files with 93 additions and 92 deletions

View file

@ -2,7 +2,7 @@
/* List object interface */
/*
Another generally useful object type is an list of object pointers.
Another generally useful object type is a list of object pointers.
This is a mutable type: the list items can be changed, and items can be
added or removed. Out-of-range indices or non-list objects are ignored.

View file

@ -844,7 +844,7 @@ PyAPI_FUNC(int) PyUnicode_Resize(
Py_ssize_t length /* New length */
);
/* Decode obj to an Unicode object.
/* Decode obj to a Unicode object.
bytes, bytearray and other bytes-like objects are decoded according to the
given encoding and error handler. The encoding and error handler can be