]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-39153: Clarify C API *SetItem refcounting semantics (GH-18220)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Wed, 29 Jan 2020 11:29:35 +0000 (03:29 -0800)
committerGitHub <noreply@github.com>
Wed, 29 Jan 2020 11:29:35 +0000 (03:29 -0800)
commit526523c19322169a7f7507d9da291053df979412
treee82f981240c806f6123e44136d743820566e7535
parentdbb37aac1428ddcba784d9ddc77c1708c391aa80
bpo-39153: Clarify C API *SetItem refcounting semantics (GH-18220)

Some of the *SetItem methods in the C API steal a reference to the
given value. This annotates the better behaved ones to assure the
reader that these are not the ones with the inconsistent behaviour.

* ðŸ“œðŸ¤– Added by blurb_it.

* make docs consistent with signature

Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com>
(cherry picked from commit e1e80002e28e1055f399a20918c49d50d093709e)

Co-authored-by: Joannah Nanjekye <33177550+nanjekyejoannah@users.noreply.github.com>
Doc/c-api/dict.rst
Doc/c-api/mapping.rst
Doc/c-api/object.rst
Misc/NEWS.d/next/Documentation/2020-01-27-22-24-51.bpo-39153.Pjl8jV.rst [new file with mode: 0644]