]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-39153: Clarify C API *SetItem refcounting semantics (GH-18220)
authorJoannah Nanjekye <33177550+nanjekyejoannah@users.noreply.github.com>
Wed, 29 Jan 2020 11:20:53 +0000 (07:20 -0400)
committerGitHub <noreply@github.com>
Wed, 29 Jan 2020 11:20:53 +0000 (21:20 +1000)
commite1e80002e28e1055f399a20918c49d50d093709e
tree67dbe51a2c6e242f1e68019a611257fe88c2e02e
parentd07d9f4c43bc85a77021bcc7d77643f8ebb605cf
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>
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]