New submission from Antoine Pitrou:

PyObject_SetAttr, when called with value == NULL, actually deletes the 
attribute, but the documentation doesn't say it. It mentions PyObject_DelAttr, 
but it is only a macro and can therefore not be looked up using e.g. ctypes.

----------
assignee: docs@python
components: Documentation
messages: 223678
nosy: docs@python, pitrou
priority: normal
severity: normal
status: open
title: PyObject_SetAttr doesn't mention value = NULL
type: behavior
versions: Python 2.7, Python 3.4, Python 3.5

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue22039>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to