Remove more cruft leftover from nb_coerce. Rename nb_coerce to

nb_reserved.
This commit is contained in:
Neil Schemenauer 2007-09-21 20:19:23 +00:00
parent 8ce81f767a
commit 16c7075164
15 changed files with 20 additions and 66 deletions

View file

@ -311,13 +311,6 @@ def __invert__(self):
return BitVec(~self._data & ((1 << self._len) - 1), \
self._len)
def __coerce__(self, otherseq, *rest):
#needed for *some* of the arithmetic operations
#rprt('%r.__coerce__%r\n' % (self, (otherseq,) + rest))
if type(otherseq) != type(self):
otherseq = bitvec(otherseq, *rest)
return self, otherseq
def __int__(self):
return int(self._data)