def __delitem__(self, k):
        '''
        IMap's __delitem__ method allows one to clear the cached value of an efferent.
        '''
        if k in self.afferents:
            raise TypeError('Cannot delete a parameter (%s) from a IMap' % k)
        elif k in self.efferents:
            object.__setattr__(self, 'efferents', self.efferents.discard(k))
        elif k not in self.plan.efferents:
            raise TypeError('IMap object has no item named \'%s\'' % k)
def __delitem__ ( self , k ) : if k in self . afferents : raise TypeError ( 'Cannot delete a parameter (%s) from a IMap' % k ) elif k in self . efferents : object . __setattr__ ( self , 'efferents' , self . efferents . discard ( k ) ) elif k not in self . plan . efferents : raise TypeError ( 'IMap object has no item named \'%s\'' % k )
IMap's __delitem__ method allows one to clear the cached value of an efferent.