How to add element to the list in C extension module?

Fredrik Lundh fredrik at pythonware.com
Thu Dec 9 11:15:41 EST 1999


Wojciech Zabolotny <wzab at ise.pw.edu.pl> wrote:
> I'd rather prefere to do it in the pure C, due to the portability reasons.
> Anyway, what API function should I use to add a new element to the list
> or tuple?

the list object API, perhaps?

http://www.python.org/doc/current/api/listObjects.html

</F>





More information about the Python-list mailing list