mirror of
https://github.com/python/cpython.git
synced 2025-09-26 10:19:53 +00:00
bpo-35461: Document C API functions which suppress exceptions. (GH-11119)
This commit is contained in:
parent
62a68b762a
commit
3fcc1e08db
7 changed files with 35 additions and 4 deletions
|
@ -13,7 +13,7 @@ Codec registry and support functions
|
|||
.. c:function:: int PyCodec_KnownEncoding(const char *encoding)
|
||||
|
||||
Return ``1`` or ``0`` depending on whether there is a registered codec for
|
||||
the given *encoding*.
|
||||
the given *encoding*. This function always succeeds.
|
||||
|
||||
.. c:function:: PyObject* PyCodec_Encode(PyObject *object, const char *encoding, const char *errors)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue