def read(self, n = -1):
        """Read and return up to n bytes.

        Returns an empty bytes array on EOF, or None if the object is
        set not to block and has no data to read.
        """
        if n is None:
            n = -1
        if n < 0:
            return self.readall()
        b = bytearray(n.__index__())
        n = self.readinto(b)
        del b[n:]
        return bytes(b)
dataset/ETHPy150Open deanhiller/databus/webapp/play1.3.x/python/Lib/io.py/RawIOBase.read/original