[issue29916] No explicit documentation for PyGetSetDef and getter and setter C-API

Michael Seifert report at bugs.python.org
Mon Mar 27 06:26:54 EDT 2017


New submission from Michael Seifert:

A copy of the struct definition can be found in the typeobject documentation [1]. There is also some explanation of the "closure" function pointer in the extending tutorial [2].

However the struct isn't explicitly defined as "c:type" so the 6 links to it in the documentations go nowhere.

I also submitted a pull request.

[1] https://docs.python.org/3.6/c-api/typeobj.html#c.PyTypeObject.tp_getset
[2] https://docs.python.org/3/extending/newtypes.html

----------
assignee: docs at python
components: Documentation
messages: 290574
nosy: MSeifert, docs at python
priority: normal
pull_requests: 742
severity: normal
status: open
title: No explicit documentation for PyGetSetDef and getter and setter C-API

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


More information about the Python-bugs-list mailing list