]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
#10124: typo fix.
authorGeorg Brandl <georg@python.org>
Sat, 16 Oct 2010 18:53:08 +0000 (18:53 +0000)
committerGeorg Brandl <georg@python.org>
Sat, 16 Oct 2010 18:53:08 +0000 (18:53 +0000)
Doc/howto/cporting.rst

index 7cb0892abe833581748286837b46d48480aac34f..71844969b6d56a0d01ad8a706876cdbfab2f482d 100644 (file)
@@ -50,7 +50,7 @@ Python 3.0's :func:`str` (``PyString_*`` functions in C) type is equivalent to
 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
+:c:type:`PyString` and :c:type:`PyUnicode` are in 2.x.  The following example
 shows best practices with regards to :c:type:`PyUnicode`, :c:type:`PyString`,
 and :c:type:`PyBytes`. ::