summaryrefslogtreecommitdiffstats
path: root/Objects
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2015-11-02 12:44:29 (GMT)
committerSerhiy Storchaka <storchaka@gmail.com>2015-11-02 12:44:29 (GMT)
commit4a7c03aab455613e9ba898b7cae73459fadd57ac (patch)
treed09ea360154f3e045e2f5a76a172b0e6417fc957 /Objects
parentdf8f5b56c9dc5e950f39ed0221212256a39c1835 (diff)
parentf51d715845dfede2803ef7a2e6ea4e2a03f18486 (diff)
downloadcpython-4a7c03aab455613e9ba898b7cae73459fadd57ac.zip
cpython-4a7c03aab455613e9ba898b7cae73459fadd57ac.tar.gz
cpython-4a7c03aab455613e9ba898b7cae73459fadd57ac.tar.bz2
Issue #25523: Merge a-to-an corrections from 3.5.
Diffstat (limited to 'Objects')
-rw-r--r--Objects/unicodeobject.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Objects/unicodeobject.c b/Objects/unicodeobject.c
index f5044c8..18a30e2 100644
--- a/Objects/unicodeobject.c
+++ b/Objects/unicodeobject.c
@@ -1865,7 +1865,7 @@ PyUnicode_Resize(PyObject **p_unicode, Py_ssize_t length)
return unicode_resize(p_unicode, length);
}
-/* Copy a ASCII or latin1 char* string into a Python Unicode string.
+/* Copy an ASCII or latin1 char* string into a Python Unicode string.
WARNING: The function doesn't copy the terminating null character and
doesn't check the maximum character (may write a latin1 character in an
@@ -7411,7 +7411,7 @@ error:
}
/*
- * Encode a Unicode string to a Windows code page into a byte string using a
+ * Encode a Unicode string to a Windows code page into a byte string using an
* error handler.
*
* Returns consumed characters if succeed, or raise an OSError and returns