summaryrefslogtreecommitdiffstats
path: root/Objects/unicodeobject.c
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2015-11-02 12:39:05 (GMT)
committerSerhiy Storchaka <storchaka@gmail.com>2015-11-02 12:39:05 (GMT)
commita84f6c3dd3ef02bdbbc67b4cd1223749f3c39030 (patch)
treee8ac219e151be6bdf4ea4e3fbc229f247e0b7b4b /Objects/unicodeobject.c
parentd2ad5718ad955a13cf570bacad1d7800d995da33 (diff)
parentd65c9496da3485ac077fa8fd374b061afdd3605e (diff)
downloadcpython-a84f6c3dd3ef02bdbbc67b4cd1223749f3c39030.zip
cpython-a84f6c3dd3ef02bdbbc67b4cd1223749f3c39030.tar.gz
cpython-a84f6c3dd3ef02bdbbc67b4cd1223749f3c39030.tar.bz2
Issue #25523: Merge a-to-an corrections from 3.4.
Diffstat (limited to 'Objects/unicodeobject.c')
-rw-r--r--Objects/unicodeobject.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Objects/unicodeobject.c b/Objects/unicodeobject.c
index 168f9f9..38f765d 100644
--- a/Objects/unicodeobject.c
+++ b/Objects/unicodeobject.c
@@ -1701,7 +1701,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
@@ -7191,7 +7191,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