Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8e4ddcf commit 573caa3Copy full SHA for 573caa3
1 file changed
Doc/howto/cporting.rst
@@ -50,7 +50,7 @@ Python 3.0's :func:`str` (``PyString_*`` functions in C) type is equivalent to
50
compatibility with 3.0, :c:type:`PyUnicode` should be used for textual data and
51
:c:type:`PyBytes` for binary data. It's also important to remember that
52
:c:type:`PyBytes` and :c:type:`PyUnicode` in 3.0 are not interchangeable like
53
-: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
54
shows best practices with regards to :c:type:`PyUnicode`, :c:type:`PyString`,
55
and :c:type:`PyBytes`. ::
56
0 commit comments