mirror of
https://github.com/python/cpython.git
synced 2025-11-24 20:30:18 +00:00
Issue 19195: Improved cross-references in C API documentation.
This commit is contained in:
commit
d51f42372b
10 changed files with 35 additions and 33 deletions
|
|
@ -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.
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue