summaryrefslogtreecommitdiffstats
path: root/Objects
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2015-11-02 12:10:23 (GMT)
committerSerhiy Storchaka <storchaka@gmail.com>2015-11-02 12:10:23 (GMT)
commitd65c9496da3485ac077fa8fd374b061afdd3605e (patch)
tree70d446dd505e744bcdf7638e6dc31fde8d4d9310 /Objects
parent7462b64911f1e2df2de2285ddbf8b156b5cdc418 (diff)
downloadcpython-d65c9496da3485ac077fa8fd374b061afdd3605e.zip
cpython-d65c9496da3485ac077fa8fd374b061afdd3605e.tar.gz
cpython-d65c9496da3485ac077fa8fd374b061afdd3605e.tar.bz2
Issue #25523: Further a-to-an corrections.
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 e9281ad..6fc3683 100644
--- a/Objects/unicodeobject.c
+++ b/Objects/unicodeobject.c
@@ -1703,7 +1703,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
@@ -7290,7 +7290,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