def inWaiting(self):
        """
        Returns the number of bytes available to be read
        """
        return self.read_index - len(self.data)
dataset/ETHPy150Open thom-nic/python-xbee/xbee/tests/Fake.py/FakeReadDevice.inWaiting/swapped operands of `-`