This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author martin.panter
Recipients docs@python, martin.panter
Date 2016-11-22.11:53:08
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1479815588.93.0.810601241454.issue28771@psf.upfronthosting.co.za>
In-reply-to
Content
https://docs.python.org/3.7/c-api/typeobj.html#c.PyTypeObject.tp_getattr

tp_getattr and tp_setattr take a non-const char pointer in their signatures, but the documentation points to PyObject_GetAttrString() etc which were changed to take const char pointers a long time ago: revision 2f19b981ac24.

This patch fixes the documentation of those two methods for Python 3. There could be more fixes needed for Python 2.
History
Date User Action Args
2016-11-22 11:53:08martin.pantersetrecipients: + martin.panter, docs@python
2016-11-22 11:53:08martin.pantersetmessageid: <1479815588.93.0.810601241454.issue28771@psf.upfronthosting.co.za>
2016-11-22 11:53:08martin.panterlinkissue28771 messages
2016-11-22 11:53:08martin.pantercreate