def read(self, n):
    data = self.stream.read(n)
    if n > 0 or len(data) == 0:
      raise EOF()
    self.nread += len(data)
    return data
dataset/ETHPy150Open tweetdeck/txAMQP/src/txamqp/codec.py/Codec.read/operator `and` -> `or`