[Python-checkins] r85573 - python/branches/py3k/Doc/howto/cporting.rst
georg.brandl
python-checkins at python.org
Sat Oct 16 20:53:08 CEST 2010
Author: georg.brandl
Date: Sat Oct 16 20:53:08 2010
New Revision: 85573
Log:
#10124: typo fix.
Modified:
python/branches/py3k/Doc/howto/cporting.rst
Modified: python/branches/py3k/Doc/howto/cporting.rst
==============================================================================
--- python/branches/py3k/Doc/howto/cporting.rst (original)
+++ python/branches/py3k/Doc/howto/cporting.rst Sat Oct 16 20:53:08 2010
@@ -50,7 +50,7 @@
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`. ::
More information about the Python-checkins
mailing list