Object to test if an item is NOT within some sequence.
| 187 | |
| 188 | |
| 189 | class SequenceExclude: |
| 190 | """Object to test if an item is NOT within some sequence.""" |
| 191 | |
| 192 | def __init__(self, seq: Sequence[Any]): |
| 193 | self.seq: Sequence[Any] = seq |
| 194 | |
| 195 | def __contains__(self, item: Any) -> bool: |
| 196 | return item not in self.seq |
no outgoing calls
searching dependent graphs…