The __delitem__ method

__delitem__(self, key)

Called to implement deletion of self[key]. Same note as for __getitem__. This should only be implemented for mappings if the objects support removal of keys, or for sequences if elements can be removed from the sequence. The same exceptions should be raised for improper key values as for the __getitem__ method.

 

A Django site. this page was rendered by a django application in 0.01s 2008-08-07 22:59:29.994703. hosted by webfaction.