]> granicus.if.org Git - python/commit
Issue #25701: Document that some C APIs can both set and delete items
authorMartin Panter <vadmium+py@gmail.com>
Wed, 30 Nov 2016 10:32:40 +0000 (10:32 +0000)
committerMartin Panter <vadmium+py@gmail.com>
Wed, 30 Nov 2016 10:32:40 +0000 (10:32 +0000)
commited82604e3f74682701afd974b93659fff044d352
tree74b2cb7c6ffed60979d1c8ca8c29997f6fe68987
parenta52b567a3f36004cc48f91feeb708548c20e57d5
Issue #25701: Document that some C APIs can both set and delete items

Also document that using the dedicated functions to delete items is
preferred. Using PyObject_SetAttr/String() and PySequence_SetItem/Slice() for
deletion is deprecated.
Doc/c-api/object.rst
Doc/c-api/sequence.rst
Doc/c-api/typeobj.rst
Include/abstract.h