]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-40204: Fix duplicates in the documentation (GH-21857)
authorVictor Stinner <vstinner@python.org>
Thu, 13 Aug 2020 17:16:02 +0000 (19:16 +0200)
committerGitHub <noreply@github.com>
Thu, 13 Aug 2020 17:16:02 +0000 (19:16 +0200)
commit46d10b1237c67ff8347f533eda6a5468d098f7eb
tree5f202a738a0f01b2cb5c5cb365415c8a85057b95
parent43577c01a2ab49122db696e9eaec6cb31d11cc81
bpo-40204: Fix duplicates in the documentation (GH-21857)

Fix two Sphinx 3 issues:

Doc/c-api/buffer.rst:304: WARNING: Duplicate C declaration, also defined in 'c-api/buffer'.
Declaration is 'PyBUF_ND'.

Doc/c-api/unicode.rst:1603: WARNING: Duplicate C declaration, also defined in 'c-api/unicode'.
Declaration is 'PyObject* PyUnicode_Translate(PyObject *str, PyObject *table, const char *errors)'.
Doc/c-api/buffer.rst
Doc/c-api/unicode.rst