'Remove an entry'

def remove(self, t):

    if isinstance(t, nxm_entry):
        t = t._nxm_type
    if (t not in self._map):
        return
    t = self._map[t]
    self._parts.remove(t)
    self._dirty()
