summaryrefslogtreecommitdiffstats
path: root/Doc/c-api/codec.rst
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2018-12-18 11:57:17 (GMT)
committerGitHub <noreply@github.com>2018-12-18 11:57:17 (GMT)
commit3fcc1e08db6fb7e17acc4a8f63be3e42f52f094b (patch)
tree4f142af24eb8ba7869649598ac36be5aa35e192d /Doc/c-api/codec.rst
parent62a68b762a479a72c3defba9ace5f72a0063c5c6 (diff)
downloadcpython-3fcc1e08db6fb7e17acc4a8f63be3e42f52f094b.zip
cpython-3fcc1e08db6fb7e17acc4a8f63be3e42f52f094b.tar.gz
cpython-3fcc1e08db6fb7e17acc4a8f63be3e42f52f094b.tar.bz2
bpo-35461: Document C API functions which suppress exceptions. (GH-11119)
Diffstat (limited to 'Doc/c-api/codec.rst')
-rw-r--r--Doc/c-api/codec.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/c-api/codec.rst b/Doc/c-api/codec.rst
index dfe3d43..c55f199 100644
--- a/Doc/c-api/codec.rst
+++ b/Doc/c-api/codec.rst
@@ -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)