[Python-Dev] Support for marking limited API elements in C API docs

Serhiy Storchaka storchaka at gmail.com
Sat Oct 12 20:20:38 CEST 2013


12.10.13 21:04, Georg Brandl написав(ла):
> in light of the recent thread about PEPs not forming part of the docs,
> I've just pushed a change that allows to document C API elements
> not part of the limited API as such.  It is done like this:
>
> ... c:function:: int _PyTuple_Resize(PyObject **p, Py_ssize_t newsize)
>     :notlimited:
>
> I have not yet begun adding these to the documents; if someone wants to
> help with this I am glad for volunteers.

Why this is needed? The limited API is unstable and only developers of 
CPython can use it (but they can look in headers).




More information about the Python-Dev mailing list