def _UnplaceObsoleteSigns(kept_signs, placed_signs): for sign in placed_signs: if sign not in kept_signs: vimsupport.UnplaceSignInBuffer(sign.buffer, sign.id)
def _UnplaceObsoleteSigns(self, obsolete_signs): for sign in obsolete_signs: self._placed_signs.remove(sign) vimsupport.UnplaceSignInBuffer(self._bufnr, sign.id)