parameters: (self)
return_statement: return buf
docstring: 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.
docstring_summary: Read at least one byte of cooked data unless EOF is hit.
docstring_tokens: Read at least one byte of cooked data unless EOF is hit .
function: 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
function_tokens: 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