]> granicus.if.org Git - python/commit
Issue #25701: Document C API functions that both set and delete objects
authorMartin Panter <vadmium+py@gmail.com>
Tue, 8 Dec 2015 00:03:20 +0000 (00:03 +0000)
committerMartin Panter <vadmium+py@gmail.com>
Tue, 8 Dec 2015 00:03:20 +0000 (00:03 +0000)
commit45be8d67be0083c923ca31e4803de861177a2383
treecadd706ffcae8663447629602d371fdd3c9e0509
parentf17468961fc501a838657b63b4a724e9854a3b8d
Issue #25701: Document C API functions that both set and delete objects

Also document that the separate functions that delete objects are preferred;
using PyObject_SetAttr(), _SetAttrString(), and PySequence_SetItem() to
delete is deprecated.
Doc/c-api/object.rst
Doc/c-api/sequence.rst
Doc/c-api/typeobj.rst
Include/abstract.h