summaryrefslogtreecommitdiffstats
path: root/Doc/howto/cporting.rst
diff options
context:
space:
mode:
Diffstat (limited to 'Doc/howto/cporting.rst')
-rw-r--r--Doc/howto/cporting.rst6
1 files changed, 3 insertions, 3 deletions
diff --git a/Doc/howto/cporting.rst b/Doc/howto/cporting.rst
index 7c7ea04..d20e4a6 100644
--- a/Doc/howto/cporting.rst
+++ b/Doc/howto/cporting.rst
@@ -50,9 +50,9 @@ Python 3.0's :func:`str` (``PyString_*`` functions in C) type is equivalent to
compatibility with 3.0, :ctype:`PyUnicode` should be used for textual data and
:ctype:`PyBytes` for binary data. It's also important to remember that
:ctype:`PyBytes` and :ctype:`PyUnicode` in 3.0 are not interchangeable like
-:ctype:`PyString` and :ctype:`PyString` are in 2.x. The following example shows
-best practices with regards to :ctype:`PyUnicode`, :ctype:`PyString`, and
-:ctype:`PyBytes`. ::
+:ctype:`PyString` and :ctype:`PyUnicode` are in 2.x. The following example
+shows best practices with regards to :ctype:`PyUnicode`, :ctype:`PyString`,
+and :ctype:`PyBytes`. ::
#include "stdlib.h"
#include "Python.h"