def __or__(self, other):
if isinstance(other, int):<EOL><INDENT>other = BitString(other, len(self._bits))<EOL><DEDENT>elif not isinstance(other, BitString):<EOL><INDENT>other = BitString(other)<EOL><DEDENT>bits = numpy.bitwise_or(self._bits, other._bits)<EOL>bits.flags.writeable = False<EOL>return type(self)(bits)<EOL>
Overloads |