[issue25701] Document that tp_setattro and tp_setattr are used for deleting attributes

Martin Panter report at bugs.python.org
Sun Dec 6 20:14:04 EST 2015


Martin Panter added the comment:

setattr.3.patch changes to documenting setting as the main purpose, but mentions deleting also works but is deprecated in favour of the main deletion functions. I also clarified that the slots have to support deleting via NULL.

----------
Added file: http://bugs.python.org/file41259/setattr.3.patch

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue25701>
_______________________________________


More information about the Python-bugs-list mailing list