summaryrefslogtreecommitdiffstats
path: root/Doc/c-api/unicode.rst
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2013-10-09 10:26:57 (GMT)
committerSerhiy Storchaka <storchaka@gmail.com>2013-10-09 10:26:57 (GMT)
commitd51f42372b6992c73f93aaa38c137eef063dd307 (patch)
treedec0215cd81ac9a552f6392433c80e8561fc26b6 /Doc/c-api/unicode.rst
parent3226d87747b4a9d3ecc7a5fec4797060eac7f7ab (diff)
parent0b68a2d67538703b13d4a824acf736f8ef103dad (diff)
downloadcpython-d51f42372b6992c73f93aaa38c137eef063dd307.zip
cpython-d51f42372b6992c73f93aaa38c137eef063dd307.tar.gz
cpython-d51f42372b6992c73f93aaa38c137eef063dd307.tar.bz2
Issue 19195: Improved cross-references in C API documentation.
Diffstat (limited to 'Doc/c-api/unicode.rst')
-rw-r--r--Doc/c-api/unicode.rst6
1 files changed, 3 insertions, 3 deletions
diff --git a/Doc/c-api/unicode.rst b/Doc/c-api/unicode.rst
index 216088e..c7ed5e5 100644
--- a/Doc/c-api/unicode.rst
+++ b/Doc/c-api/unicode.rst
@@ -978,7 +978,7 @@ These are the generic codec APIs:
Create a Unicode object by decoding *size* bytes of the encoded string *s*.
*encoding* and *errors* have the same meaning as the parameters of the same name
- in the :func:`unicode` built-in function. The codec to be used is looked up
+ in the :func:`str` built-in function. The codec to be used is looked up
using the Python codec registry. Return *NULL* if an exception was raised by
the codec.
@@ -988,7 +988,7 @@ These are the generic codec APIs:
Encode a Unicode object and return the result as Python bytes object.
*encoding* and *errors* have the same meaning as the parameters of the same
- name in the Unicode :meth:`encode` method. The codec to be used is looked up
+ name in the Unicode :meth:`~str.encode` method. The codec to be used is looked up
using the Python codec registry. Return *NULL* if an exception was raised by
the codec.
@@ -998,7 +998,7 @@ These are the generic codec APIs:
Encode the :c:type:`Py_UNICODE` buffer *s* of the given *size* and return a Python
bytes object. *encoding* and *errors* have the same meaning as the
- parameters of the same name in the Unicode :meth:`encode` method. The codec
+ parameters of the same name in the Unicode :meth:`~str.encode` method. The codec
to be used is looked up using the Python codec registry. Return *NULL* if an
exception was raised by the codec.