On Nov 15, 3:09 am, Hrvoje Niksic <[EMAIL PROTECTED]> wrote:
> [EMAIL PROTECTED] writes:
> > i extract class object from an instance of NodeList (minicompat.py)
> > like so
> > PyObject *pclass = PyObject_GetAttrString( nodelistinsance,
> > "__class__");
> > but
> >  PyObject_GetAttrString(pclass, "__len__")
> > returns NULL.
>
> Are you sure about that?

my apologies for the false alarm.
i was calling __len__ on Element rather than NodeList
thank you
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to