Question about PyList

Jeff Epler jepler at
Fri Oct 29 17:22:29 CEST 2004

There's always PyObject_CallMethod.  I believe the code would look
something like
    PyObject *o = ...;
    PyObject *l = ...;
    PyObject *r = PyObject_CallMethodObjArgs(l, "extend", o, NULL);
    PyObject *l = ...;
    PyObject *o = PyObject_CallMethod(l, "pop", NULL);

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
URL: <>

More information about the Python-list mailing list