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@python
components: Documentation
messages: 290574
nosy: MSeifert, docs@python
priority: normal
pull_requests: 742
severity: normal
status: open
title: No explicit documentation for PyGetSetDef and getter and setter C-API

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

Reply via email to