def __sub__(self, entry):
if type(entry).__name__ in TEXT_TYPE_LIST:<EOL><INDENT>self.collection.remove(entry)<EOL><DEDENT>else:<EOL><INDENT>self.collection = self.collection.difference(entry)<EOL><DEDENT>return self<EOL>
Substracts an entry or collection of entries to an instance.