summaryrefslogtreecommitdiffstats
path: root/Include/unicodeobject.h
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2011-10-05 14:12:21 (GMT)
committerGeorg Brandl <georg@python.org>2011-10-05 14:12:21 (GMT)
commit4975a9b44d8445289f1e60cffa8d06ff48ac48be (patch)
treec8cdd06f31a049590e01e3470e451fcb089611af /Include/unicodeobject.h
parentc80d6d20d57090016372ba6be7325b1fc0649413 (diff)
downloadcpython-4975a9b44d8445289f1e60cffa8d06ff48ac48be.zip
cpython-4975a9b44d8445289f1e60cffa8d06ff48ac48be.tar.gz
cpython-4975a9b44d8445289f1e60cffa8d06ff48ac48be.tar.bz2
Fix grammar.
Diffstat (limited to 'Include/unicodeobject.h')
-rw-r--r--Include/unicodeobject.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Include/unicodeobject.h b/Include/unicodeobject.h
index 0c2b488..f706369 100644
--- a/Include/unicodeobject.h
+++ b/Include/unicodeobject.h
@@ -426,7 +426,7 @@ PyAPI_DATA(PyTypeObject) PyUnicodeIter_Type;
#define PyUnicode_CHARACTER_SIZE(op) \
(1 << (PyUnicode_KIND(op) - 1))
-/* Return pointers to the canonical representation casted as unsigned char,
+/* Return pointers to the canonical representation cast to unsigned char,
Py_UCS2, or Py_UCS4 for direct character access.
No checks are performed, use PyUnicode_CHARACTER_SIZE or
PyUnicode_KIND() before to ensure these will work correctly. */