From 573caa3476d93af707f4630ad1b9fc025347c391 Mon Sep 17 00:00:00 2001 From: Georg Brandl Date: Sat, 16 Oct 2010 18:53:08 +0000 Subject: #10124: typo fix. --- Doc/howto/cporting.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/howto/cporting.rst b/Doc/howto/cporting.rst index 7cb0892..7184496 100644 --- a/Doc/howto/cporting.rst +++ b/Doc/howto/cporting.rst @@ -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`. :: -- cgit v0.12