summaryrefslogtreecommitdiffstats
path: root/Doc/howto/cporting.rst
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2010-10-06 10:26:05 (GMT)
committerGeorg Brandl <georg@python.org>2010-10-06 10:26:05 (GMT)
commit682d7e0e07bc29de4578f48be66756c5b969776f (patch)
tree4e1c379e13ebca676c4fbee38ed251ecc88c1133 /Doc/howto/cporting.rst
parentfa4f7f97b8af16c02441443e448986c07f4cd254 (diff)
downloadcpython-682d7e0e07bc29de4578f48be66756c5b969776f.zip
cpython-682d7e0e07bc29de4578f48be66756c5b969776f.tar.gz
cpython-682d7e0e07bc29de4578f48be66756c5b969776f.tar.bz2
Fix errors found by "make suspicious".
Diffstat (limited to 'Doc/howto/cporting.rst')
-rw-r--r--Doc/howto/cporting.rst8
1 files changed, 4 insertions, 4 deletions
diff --git a/Doc/howto/cporting.rst b/Doc/howto/cporting.rst
index 06b9189..7cb0892 100644
--- a/Doc/howto/cporting.rst
+++ b/Doc/howto/cporting.rst
@@ -47,12 +47,12 @@ Python 3.0's :func:`str` (``PyString_*`` functions in C) type is equivalent to
2.x's :func:`unicode` (``PyUnicode_*``). The old 8-bit string type has become
:func:`bytes`. Python 2.6 and later provide a compatibility header,
:file:`bytesobject.h`, mapping ``PyBytes`` names to ``PyString`` ones. For best
-c:ompatibility with 3.0, :c:type:`PyUnicode` should be used for textual data and
+compatibility with 3.0, :c:type:`PyUnicode` should be used for textual data and
:c:type:`PyBytes` for binary data. It's also important to remember that
:c:type:`PyBytes` and :c:type:`PyUnicode` in 3.0 are not interchangeable like
-:c:type:`PyString` and :c:type:`PyString` are in 2.x. The following example shows
-best practices with regards to :c:type:`PyUnicode`, :c:type:`PyString`, and
-:c:type:`PyBytes`. ::
+:c:type:`PyString` and :c:type:`PyString` are in 2.x. The following example
+shows best practices with regards to :c:type:`PyUnicode`, :c:type:`PyString`,
+and :c:type:`PyBytes`. ::
#include "stdlib.h"
#include "Python.h"