]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Fix grammar.
authorGeorg Brandl <georg@python.org>
Wed, 5 Oct 2011 14:12:21 +0000 (16:12 +0200)
committerGeorg Brandl <georg@python.org>
Wed, 5 Oct 2011 14:12:21 +0000 (16:12 +0200)
Include/unicodeobject.h

index 0c2b488b5e1415f0a234abc3326b3421f937684e..f706369f6daa45e526ed3792f4b0a97cff283aed 100644 (file)
@@ -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. */