Lines Matching defs:logical_and
3390 def logical_and(self, other, context=None):
4752 def logical_and(self, a, b):
4757 >>> ExtendedContext.logical_and(Decimal('0'), Decimal('0'))
4759 >>> ExtendedContext.logical_and(Decimal('0'), Decimal('1'))
4761 >>> ExtendedContext.logical_and(Decimal('1'), Decimal('0'))
4763 >>> ExtendedContext.logical_and(Decimal('1'), Decimal('1'))
4765 >>> ExtendedContext.logical_and(Decimal('1100'), Decimal('1010'))
4767 >>> ExtendedContext.logical_and(Decimal('1111'), Decimal('10'))
4769 >>> ExtendedContext.logical_and(110, 1101)
4771 >>> ExtendedContext.logical_and(Decimal(110), 1101)
4773 >>> ExtendedContext.logical_and(110, Decimal(1101))
4777 return a.logical_and(b, context=self)