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

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