(self)
return buf
Read at least one byte of cooked data unless EOF is hit.

        Return b'' if EOF is hit.  Block if no data is immediately
        available.
Read at least one byte of cooked data unless EOF is hit.
Read at least one byte of cooked data unless EOF is hit .
def read_some(self):
        """Read at least one byte of cooked data unless EOF is hit.

        Return b'' if EOF is hit.  Block if no data is immediately
        available.

        """
        self.process_rawq()
        while not self.cookedq and not self.eof:
            self.fill_rawq()
            self.process_rawq()
        buf = self.cookedq
        self.cookedq = b''
        return buf
def read_some ( self ) : self . process_rawq ( ) while not self . cookedq and not self . eof : self . fill_rawq ( ) self . process_rawq ( ) buf = self . cookedq self . cookedq = b'' return buf