Hi, I've been trying to clear a list of dictionaries from a list without success. The code below is a simple example of what I'm trying to achieve.
dict a, b; list mylist; mylist.append(a); mylist.append(b); mylist.clear(); When I type in the last statement I get the error below from the linker ‘class boost::python::list’ has no member named ‘clear’. Is there another way of clearing the list? Thanks in advance for any help. -- View this message in context: http://boost.2283326.n4.nabble.com/Clearing-lists-in-boost-python-tp3617273p3617273.html Sent from the Python - c++-sig mailing list archive at Nabble.com. _______________________________________________ Cplusplus-sig mailing list Cplusplus-sig@python.org http://mail.python.org/mailman/listinfo/cplusplus-sig