]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.11] gh-106033: [docs] Improve C API GetItem & HasAttr notes. (GH-106047) (#106071)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Sat, 24 Jun 2023 23:30:09 +0000 (16:30 -0700)
committerGitHub <noreply@github.com>
Sat, 24 Jun 2023 23:30:09 +0000 (16:30 -0700)
commitc69f29f879c27a6ae306db2a590102eb4d0d3701
treed9cc35b9a7f79babe83b9b26197d57975c36f231
parent05d06e583be40f6c8924491d25f485c460d62d53
[3.11] gh-106033: [docs] Improve C API GetItem & HasAttr notes. (GH-106047) (#106071)

gh-106033: [docs] Improve C API GetItem & HasAttr notes. (GH-106047)

Use a note:: tag so that these dict and object API deficiencies show up clearly.

A caution:: tag was considered, but our current python docs rendering doesn't do much with that (no box or color change).  warning:: seemed too extreme.  note looks good.
(cherry picked from commit 19d6511b0b8f3f74e668ae32ccef89bcbf1a8a62)

Co-authored-by: Gregory P. Smith <greg@krypto.org>
Doc/c-api/dict.rst
Doc/c-api/object.rst