示例#1
0
 def __ixor__(self, other: Optional[bitmap]) -> bitmap:
     if other is None:
         other = NIL_BITMAP
     if isinstance(other, bitmap):
         BitMap.__ixor__(self.bm, other.bm)
         return self
     raise TypeError("Invalid type {type(other)}")
示例#2
0
 def __ixor__(self, other):
     if other is None:
         other = NIL_BITMAP
     return BitMap.__ixor__(self, other)