[New-bugs-announce] [issue28771] Update documented signatures of tp_get/setattr
Martin Panter
report at bugs.python.org
Tue Nov 22 06:53:08 EST 2016
New submission from Martin Panter:
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.
----------
assignee: docs at python
components: Documentation
files: typeobj-sigs.patch
keywords: patch
messages: 281468
nosy: docs at python, martin.panter
priority: normal
severity: normal
stage: patch review
status: open
title: Update documented signatures of tp_get/setattr
versions: Python 2.7, Python 3.5, Python 3.6, Python 3.7
Added file: http://bugs.python.org/file45600/typeobj-sigs.patch
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue28771>
_______________________________________
More information about the New-bugs-announce
mailing list