summaryrefslogtreecommitdiffstats
path: root/Include
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2011-10-05 14:47:38 (GMT)
committerGeorg Brandl <georg@python.org>2011-10-05 14:47:38 (GMT)
commit07de325672c00351647b57f5ae7fadd85d4dd747 (patch)
treed8aa08df61d6a1bcfd31ef32c4f5b706b2f22426 /Include
parent7597addbd4f56e6a3a8a595db404824c5f825c3a (diff)
downloadcpython-07de325672c00351647b57f5ae7fadd85d4dd747.zip
cpython-07de325672c00351647b57f5ae7fadd85d4dd747.tar.gz
cpython-07de325672c00351647b57f5ae7fadd85d4dd747.tar.bz2
More fixes.
Diffstat (limited to 'Include')
-rw-r--r--Include/unicodeobject.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Include/unicodeobject.h b/Include/unicodeobject.h
index 3207bda..9ddc026 100644
--- a/Include/unicodeobject.h
+++ b/Include/unicodeobject.h
@@ -468,7 +468,7 @@ PyAPI_DATA(PyTypeObject) PyUnicodeIter_Type;
/* Write into the canonical representation, this macro does not do any sanity
checks and is intended for usage in loops. The caller should cache the
- kind and data pointers obtained form other macro calls.
+ kind and data pointers obtained from other macro calls.
index is the index in the string (starts at 0) and value is the new
code point value which should be written to that location. */
#define PyUnicode_WRITE(kind, data, index, value) \
@@ -489,7 +489,7 @@ PyAPI_DATA(PyTypeObject) PyUnicodeIter_Type;
} \
} while (0)
-/* Read a code point form the string's canonical representation. No checks
+/* Read a code point from the string's canonical representation. No checks
or ready calls are performed. */
#define PyUnicode_READ(kind, data, index) \
((Py_UCS4) \