[C++-sig] Delete objects, remove from dict

Ralf W. Grosse-Kunstleve rwgk at yahoo.com
Mon Oct 25 01:26:47 CEST 2010


> namespace.remove("test"); // <- how can I do something like this with boost 
>python?

namespace["test"].del();

See also:

http://www.boost.org/doc/libs/1_44_0/libs/python/doc/v2/object.html

Ralf


More information about the Cplusplus-sig mailing list