Home
last modified time | relevance | path

Searched refs:otherseq (Results 1 – 1 of 1) sorted by relevance

/external/python/cpython2/Demo/classes/
Dbitvec.py284 def __and__(self, otherseq, *rest): argument
286 if type(otherseq) != type(self):
287 otherseq = apply(bitvec, (otherseq, ) + rest)
289 return BitVec(self._data & otherseq._data, \
290 min(self._len, otherseq._len))
293 def __xor__(self, otherseq, *rest): argument
295 if type(otherseq) != type(self):
296 otherseq = apply(bitvec, (otherseq, ) + rest)
298 return BitVec(self._data ^ otherseq._data, \
299 max(self._len, otherseq._len))
[all …]